0. How do people get started with Python? Is Python hard ?, Getting started with python
My life is short. I use Python. Why do we say this? Because we have a golden saying in automated testing: After learning Python, we can go to heaven ~
Not much nonsense. I believe many people have heard of the news that Python entered the primary school textbooks and Python entered the Zhejiang provincial college entrance examination. What is the charm of Python with so many titles? Why did we say that Python was the most desirable language in 2018? Why are everyone so concerned about Python ~ Next let's analyze
Likewise, many people may have such questions.
If I want to learn Python in another row, can I learn it based on 0?
How difficult is Python?
For example, when I first started learning Python, I had these questions. Let's analyze them.
First question: Is it difficult to learn Python?
Is the lower the program, the harder it to learn, the simpler the higher the program?
On the surface, yes.
However, in very high abstract computing, advanced Python programming is also very difficult to learn. Therefore, advanced programming languages are not simple.
However, for beginners and general tasks, the Python language is very easy to use.
The second question is: Can I use Python for basic learning?
First of all, I personally agree to use Python as the entry language:
1.The syntax is simple and clear.The first language is actually the syntax + Flow control, while the PythonSimple syntax, high code readability, easy to get started.
2. the philosophy of Python is "there should be only one of the best ways to do one thing", which is of great help for beginners to regulate their own learning, at the same time, it also helps beginners to understand the code of others (it is hard to understand the code than Perl)
3.Develop good habits.Python has strict code requirements, especially Indentation, which is helpful for beginners to develop good code habits.
4. The syntax Design of Python is excellent (the opposite example is PHP). The idea is also modern, so that you can understand the ideas of modern programming languages more quickly.
5. Python is still a traditional Class-based OO (compared with Javascript prototype-based OO), which is similar to Java, C #, and Ruby. It is also 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 is slightly messy), and there are many libraries and a lot of excellent code (compared with PHP, there are a lot of bad code, mislead new people ).
7. There are a lot of free Python books (in English) and you can find a lot of information. At the same time, (foreign) communities are concentrated. If you have any questions, you can ask them.
8. Python is widely used in other fields, such as scientific computing. It is suitable for learning a language as a tool.
Third question: how to learn Python?
If you choose to learn by yourself, I would like to give you some suggestions:
1. Find a simple and easy-to-understand tutorial with a good routine and read it from start to end. Don't read a lot of books, focus on one book. You can call all the routines to understand why.
2. Go to the actual project trainer. It is best to have a real project. You can ask a few students to create a website together. Note: real projects are not necessarily commercial projects.
3. You 'd better find someone who already knows python. Ask him some advice on planning and ask him for advice when he encounters a card. This will get twice the result with half the effort.
4. In addition to learning programming languages, you can also make up a bit of Computer Basics and English.
5. Not only do you need to learn to write code, but also read code and debug code. Read the error message of your program. Find some github programs to read other people's code.
6. Learn to query documents and make good use of search engines and the developer community.
Of course, if you have no foundation, no great leaders around you, and you cannot learn it yourself, I suggest you give up or find a training institution to spend some money to study.
Development is boring. It is difficult to learn it in the early stage. It is a sunny day when you get up!