Programming is a skill, it can be said is a craft. Like calligraphy, paintings, musical instruments, sculptures and other skillful artistry behind the repeated practice certainly paid a long time. Limitless world of programming, so please keep an awe state of mind to learn, take seriously each line of code written, even every character. He packed his attitude toward the world of programming departure.
- Entry stage
The first step is critical, is related to the beginners from entry to the master or from entry to give up. Choose a suitable entry road, and stick to it.
1.1 Configuration Python Learning Environment
Python2 or Python3?
Many people are still entangled entry should learn Python2 Python3. This is actually not a problem. I've never heard one person is Python2 Python3 programmer or programmer. Both procedures are not only compatible, no major ideological differences, not many grammatical changes. Select any start, we have no major impact.
If you still can not choose, then please select Python3, after all, this is the future trend, reference know almost answered
Python2 or Python3?
You should learn the latest version of Python 3 or older versions of Python 2?
How to choose the editor?
I recommend pycharm Community Edition, the configuration is simple, powerful, save time and worry to use for beginners friendly. And it is completely free!
Community Edition Address: https://www.jetbrains.com/pycharm/
Other editors can try:
idle: Python comes editor. If you just want to write a few lines of code as soon as possible, this is the most convenient way.
vs code: https://code.visualstudio.com/
atom: https://atom.io/
SublimeText: http://www.sublimetext.com/3
notepad++: Notepad++ Home
For beginners concentrate more on writing code on this matter, so we do not recommend the vim and Emacs.
operating system?
Python support available for all major operating platforms, either windows or mac or linux, can be a good run Python. And the latter two by default comes with Python environment.
1.2 Getting Started Tutorial
"Crossin programming classroom - Python Getting Started"
Crossin programming classroom - Python Getting Started
Since that is the most easy to understand introductory tutorial on considered, it is suitable for people without any programming foundation to get started.
74 graphic tutorial, Python installation from the simplest to the basic syntax, data structures, functions, file operations, network request, object-oriented, etc. gradually deepened.
How to deepen the impression of a knowledge point, the best way is to write your own code to achieve it again. If you still do not know, then do it again. So no matter what you use the sample code tutorials, which will please all input and run on your computer, learning by doing!
Supporting the practice
Crossin programming classroom - basic training
Crossin programming classroom - Practice Online
The homework
"awkward learn Python"
http://www.kancloud.cn/kancloud/learn-python-hard-way/49863
It is this very famous Python books, but not for pure zero-based self-study. Because heavy practice but do not explain, the novice can easily see a loss. At the same time as a learning aid poured more appropriate.
Other recommended Guide
"Father and Son programming Tour" also known as "programmed together with their children to learn."
This is also an introductory Python book is ideal for zero-based. Like reading paper books students can buy, many online bookstores.
"A Byte of Python"
Online reading: Byte of Python
This is a concise introductory Python tutorial, straightforward, no-nonsense. There have been other suitable language base of people quickly learn Python syntax.
These are our recommended learning materials, the main emphasis is not much programming based on pure novices. There are also some other good resources available to the different needs of learners:
Online Text Tutorial:
Liao Xuefeng of Python tutorials
http://www.liaoxuefeng.com/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000
Mr Liu tutorial covers all aspects of Python knowledge content more systematically, there is a certain depth, to learn there will be more gains after a certain basis.
Other introductory book:
Head First Python
Dive Into Python
Core Python Programming
In-depth understanding of Python
Python Standard Library
Python Programming Guide
We collected some of the e-book version online, on the net tray: https://pan.baidu.com/s/1qWuGvF2
Interactive learning Web site:
Codecademy
https://www.codecademy.com/zh/learn/python
codeschool:
codecademy and codeschool both learning Python via the Internet site were acclaimed. You may wish to experience.
Online Video Course:
Online Education website (Coursera Tencent, Netease cloud edx classroom classroom, etc.) which recommended Python tutorial?
https://www.zhihu.com/question/46835030
- Up phase
After completion of basic introductory phase of learning, often fall into a bottleneck, by looking at the tutorial is difficult to further raise the level of programming. At this time, the need is to practice, a lot of practice.
Can start routine on the book to write, to write a small program fragment, then write the complete project.
We collected some exercises and websites. According to their stage, select the appropriate training to do it. It would be best to pick one or two series focusing on the completion, rather than kick the tires everywhere.