For beginners-How to learn Python's programming language? [PHOTO]:
For many Python3 beginners, you will often face the following questions: Python2 and Python3 which one should I study? Do you want to install Linux system learning Python? Python3 have various versions which one should I install? So many books, videos and e-tutorials. Which one should I choose? Various development tools which one should I use?
How do I learn this programming language? First, Python2 and Python3 how to choose? Because Python3 is incompatible with Python2, it causes many people to choose difficulties.
Many people search for answers to this question from the Internet, often see that Python3 has not been widely used, most third-party libraries have not supported the Python3 version.
However, please note that the information found online is often non-timeliness.
The content of many sites is pseudo-original or collected, and may appear to be near the release date, but content is a few years ago.
At present, Python3 has been widely used, most third-party libraries have already supported Python3.
Choosing Python3 is the right choice.
Second, do you want to install Linux system learning Python?
The answer to this question is not an exact answer.
This is not necessary if you are simply learning.
Python itself is a cross-platform language, and it is possible to use any kind of system to learn.
However, it is important to note that there may be some differences in different systems, such as the fork () function supported in Linux, and Windows does not have this function.
These differences are generally understood in the learning process, when encountering such differences can be skipped first, does not hinder the learning process.
Of course, in practical applications, our understanding of the various systems is necessary.
Because, often, the project's production environment uses a Linux system.
We can learn by using the Windows system while being familiar with other types of systems as part of learning.
Three, Python3 have various versions which one should I install?
The various versions of Python3 are based on the Python3 maintenance version, and there is no compatibility issue with the installation of the high version.
And, in the high version, there will often be some new content, it is worth learning, such as the Python3.6 version of the "F-string".
So, from a learning point of view, installing the latest official version is the best option.
Four, so many books, videos and electronic tutorials which one should I choose?
At present, Python3 's teaching materials are much less than Python2.
However, in a lot of teaching materials are also updated, such as some well-known books, including Python2 to Python3 excessive.
The choice of learning materials is really difficult, because the quantity is numerous, the quality is mixed.
And a lot of information is very dull and difficult to understand, especially some of the classic books translated from abroad, because the quality of translation is low, very poor readability.
Therefore, the proposal in the selection of information, do not just look at the seductive propaganda, first carefully understand the content of the material, try to listen, sample or probation to buy again.
Of course, the network also has a large number of shared resources for everyone to choose, choose some good reputation for sharing information to learn is also very good.
But pay attention to: do not covet to find all kinds of information, whenever a responsible author, will try to do their work more perfect system, so, choose a suitable information, immediately into the study. There is no need to pursue more than the whole, to find too much information, because you even find a lot of information, also often do a collection.
Here, thank you very much for choosing the magic of the small building python as the first choice to learn, I will, as always, will be more easy to understand, complete system of learning materials dedicated to everyone.
V. Various development tools which one should I use?
Development tools are often called development environments.
When you ask this question, you often see a variety of answers.
In particular, some people recommend using Notepad ...
I will be hehe.
The core concept of the Python language is the ability to accomplish development goals in a simple, flexible and fast way.
Whether it is work or study, should be based on efficiency.
Although there is nothing wrong with understanding the various development tools, it is necessary to choose a tool with low difficulty and high efficiency.
Now the network is so developed, the hardware environment is also very good, choose the function of rich and easy to use tools is the best choice.
It is not necessary for us to choose a lightweight development tool to abuse ourselves and to increase the difficulty of learning and working.
Especially in the study, our focus is to learn the grammar of programming language, norms, cultivate good programming habits, improve programming ideas and skills, rather than the effort to disperse to adapt to a beginner unfriendly tool.
You don't have to worry about a day when you can't find the tools you use when you're programming, and that's rarely happening.
So, choosing an excellent tool with rich features is the first choice for beginners.
Here, my recommendation is the latest version of Pycharm (don't ask me which version is the latest version, which is the latest version when you read this article).
Of course, I do not exclude a developer to master the use of a variety of development tools, I think, when we learn programming to a stage, the concept of programming has a basic understanding, and have good programming habits and learning methods, this time to learn other development tools is not too late, And the difficulty of adapting to these development tools will be greatly reduced.
Vi. How do I learn this programming language?
1. Learn to use official documents
When you are finished installing Python3, the installation directory has its own official document corresponding to the installation version, for example in Windows, it can be found in the "python36\doc\" directory, or in the "Start"-"Python 3.x" option.
This is an official document that requires a standing list of learning resources.
Some of the problems encountered in your study can be found in this document by searching for answers.
2. Using translation tools
Programming languages English is an obstacle for most developers.
If the English is not good, most of the latest technical documents cannot be read.
But even if you can't read it, read it, and use the translation tools to develop the habit of reading English documents.
With the accumulation of reading times, we will be able to improve the English reading ability.
It's like children learn to talk, keep trying and repeating to achieve their goals.
3. Use Search engine
In the learning process, we will often encounter some problems, need to solve.
Your first solution is not to go around asking questions, but to ask questions that will only develop your inertia and dependence.
And programmers need to cultivate independence to solve problems.
In fact, there is a huge amount of resources on the Internet to help us solve problems.
But you may not necessarily search.
Because many people like to search for popular keywords, such as querying Python data, they like to enter the "Python tutorial" or "Python get Started" keywords.
Look at the search results!
Are some of the old Python stuff.
Why does the search engine not show the latest information?
Because the new data itself has a process of inclusion and promotion of search weights.
Like my Python3 new entry notes, although is a very new learning materials, but also by the search engine included, but you query "Python3 notes" Such keywords, still difficult to find.
And the full name of the query will have a very good effect.
Therefore, when you search for information in the searching engine, do not use very concise keyword to query, but with long tail keywords (that is, describe more detailed keywords) to query, because the general new information will be the Long Tail keyword optimization (because hot words are very difficult to rank before), to be able to be searched by users.
4. Understanding Concepts
There are many concepts in programming, variables, functions, objects, methods, classes, processes, threads ...
These basic concepts must be understood.
In fact, these concepts, but also simply the name of the literal difficult to understand, if explained (of course, to explain the easy-to-understand) are easily understandable.
Understanding these concepts is the best way to improve our programming ideas.
If you don't understand the concept, even if you can write the code along with the data, it's still confused until you actually develop it.
Therefore, it is very important to really understand a knowledge point in learning.
5. Slow Down
Do not covet quickly, it is easy to miss the details.
In the study, must be careful and comprehensive pursuit of quality, not speed.
Because in the beginning of the pursuit of speed and neglect of quality, to the late study will expose a variety of problems.
So a solid, methodical grasp of every basic knowledge point, in the next knowledge point of learning, is the most efficient way to learn.
6. The poor manager
The idea of poor reason is to pursue the details.
The perspective of the author of any data is different.
Therefore, the different data authors give the study materials will be focused on, or with the author's personal preferences.
It is not the author's irresponsibility to be able to complete the details of the data, but to expand it will often become a very complex data structure. For example, the Web development content will involve HTML, JS and other knowledge, if the knowledge is also detailed in the information, then this information will not be able to learn.
So, when we are in the process of learning, found in the information of some vague or obscure content, do not let go, but at least do a bit of understanding.
Although, it is not too deep, but the basic content to do a rough understanding.
This is good, it will make us more knowledgeable.
If you encounter related problems in the future, we will be able to quickly find a solution.
7. Develop a habit
Learning to program is a continuous process.
Writing code every day is a habit that a program developer should develop.
The programming ability has the behind characteristic.
If the interruption time is too long, it will lead to the deterioration of capacity, and even forget the knowledge learned.
Therefore, even if there is no code to write the environment, you should try to learn some relevant technical information through the network, to maintain a continuous learning state.
Finally, I would like to say: the courage to give up!
Not everyone is suitable for programming development.
Everyone has their own expertise, and a serious bias in school is a typical example.Programmers need continuous learning because technology is always innovating.Programmers need to have excellent logic because the code is full of logic.Hulanhe Chuan (http://www.simayi.net/dushubiji/6178.html) reading notes excerpt good words and sentiment appreciation,programmers need to solve problems independently, because the progress of development at work is often quite Nervous, when there is a problem with the program, it must be able to resolve it quickly and independently, rather than waiting for someone to help you.
Programmers need a strong understanding, whether it is a jerky document or code, it is necessary for programmers to understand, whether it is to solve the problem, or take over the transfer of the work of others, all need this ability.
Therefore, if you do not have these abilities, then, it is recommended to give up learning!
Put time and energy in the direction you are good at, if you do not know what you are good at, find it as soon as possible.
Some people may object: not to have difficulties can not shrink back to success?
I want to say: encounter difficulties to adhere to is based on the self-understanding of the foundation, tofu is used to eat, bricks are used for walls, as a piece of tofu do not have the ideal of bricks, will be broken!
For beginners-How to learn Python's programming language? Figure