Life is too short, I use Python, why say so, because we automated testing has a golden sentence: After learning python, you can heaven ~
Not much nonsense, I believe many people have heard the previous python into the primary school textbooks, python into the Zhejiang Provincial College Entrance examination and other news, there are so many titles and the Python charm where? Why do you say 2018, Python is the language you want to learn most? And why is everyone so concerned about python?
Also, there are a lot of people who will have this question
To learn python, a full 0 foundation can learn?
How hard is python going to be?
As soon as I started to learn python, there are these questions, let's analyze
First question: Is it difficult to learn python?
is the lower-level program more difficult to learn, the more advanced the simpler the program?
On the surface, yes.
However, in very high abstract calculations, advanced Python programming is also very difficult to learn, so the high-level programming language is not equal to simple.
However, the Python language is very easy to use for beginners and to accomplish common tasks.
Second question: Do I have 0 basic python?
First of all, I'm in favor of Python as the introductory language:
1. The grammar is simple and clear. The first language, in fact, is the grammar +flow control, and Python's syntax is simple, the code readability is high, easy to get started.
2. Python's philosophy is "to do one thing should only be the best way", for beginners to standardize their own learning is very helpful, but also to help beginners to read other people's code (compared to Perl code can not see)
3. Develop a good habit. Python's strict code requirements, especially indentation (indentation), are helpful for beginners to develop good code habits.
4. Python's grammatical design is very good (reverse example PHP), the idea is more modern, can quickly understand some modern programming language ideas.
5. Python is still the traditional class-based OO (compared to JavaScript based on prototype OO), and Java,c#,ruby, like the public. It's also more appropriate to learn design pattern from Python.
6. Python's built-in data structure is clear and easy to use (c provides a little less, php slightly chaotic), while the library is more, excellent code a lot (compared to PHP has a lot of bad code, misleading new).
7. Python a lot of free books (English), you can find a lot of information to chew. At the same time (foreign) community relatively concentrated, there are problems can be asked to the master.
8. Python is widely used in other fields, such as scientific computing, and Python is suitable for learning a language as a tool.
A third question: How to learn python?
If you choose to teach yourself, I would like to give you a few suggestions:
1. Find easy-to-understand, routine and better tutorials, from beginning to end to look down. Don't look at many books, focus on one. Put all the routines in your hand and make sense of why.
2. To find the actual project practiced hand. The best thing is to have a real project to do. Can find a few classmates together to make a website and so on. Note that real projects are not necessarily commercial projects.
3. It's a good idea to find someone who already has python. Ask him a little bit about the planning advice, and then find out where he's stuck. This will do more with less.
4. In addition to learning programming languages, it also takes into account the basics of computer, and English.
5. Not only to learn to write code, but also to learn to read the code, more debugging code. Read the error message of your own program. Find some GitHub programs and read the code.
6. Learn to check the documentation and use the search engine and developer community.
Of course, if you are 0 basis, there is no great God led, you also learn not to go in, I advise you to give up, or find a training agency to spend some money to learn
Development is boring, early learning more painful, boil out is a sunny day!
0 Basic people how to get started with Python? Is python difficult?