In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly explains "how to learn Python". The content of the explanation is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "how to learn Python".
1. Introduction
The so-called foundation is not solid, the earth shakes. Whether you have a basic programming foundation or not, you need to master the basic knowledge of Python, such as variables, data structures, syntax, etc. I read the following books:
A Byte of Python
Python programming from beginner to practice
Stupid way to learn Python
The programming Journey between Father and son
The above books are Python learning reference books with high scores from Douban. Some books have examples and codes. When I read them at that time, I typed the code of each example again to deepen my memory and learn the grammar rules of Python. Therefore, I suggest that you should do the same when you self-study. If you read many codes a hundred times, it is better to type them by hand and run them again. Some may make mistakes because of the version. But it's also a learning process.
Of course, when some friends are self-taught, they are used to watching videos, and there are many resources on the Internet. The most famous ones are Liao Xuefeng's Python tutorials, and the Python self-study videos of small soft-shelled turtles, etc., with different styles, just learn the knowledge. When you are watching videos or reading books, it is best to take notes while watching.
When you have finished learning basic grammar, you need to consolidate and test what you have learned by doing some simple projects. Only when we are going to do a project will we really mobilize our thinking and realize our ideas in a variety of ways.
two。 Advanced level
After learning the basic knowledge, we can set a direction for ourselves to use Python according to our own interests or career development. at present, Python is used most frequently:
(1) set up personal blogs and websites (further study Flask, Django)
(2) data crawler (further study Requests, Scrapy)
(3) data analysis, machine learning, deep learning, etc. (further study Numpy, Pandas, Scikit-learn, etc.)
(4) realize all kinds of small ideas through rich third-party libraries.
At present, I choose data crawler, because considering their own situation, undergraduate students have not learned programming knowledge, mathematics is not very good, so doing data crawler project is also a good way to consolidate the basic knowledge of Python.
First, the data crawler project does not need a very long code, basically within 100 lines can achieve project requirements; second, full of logic, can exercise code thinking; third, it will involve HTML, database, code performance and other issues, these knowledge points can be said to be programmers must learn knowledge points, can further provide analogy ability.
Data analysis, mining needless to say, is almost the hottest direction of Python now. In the advanced stage, everyone has different directions and different books, so there is no recommendation here.
3. Proficient in
This should be the goal of every self-taught Python person, and everyone should have a master dream in his heart. At this stage, I would like to recommend a project on github, a senior programmer named jackfrued, who has planned a hundred-day road from novice to master.
With the current project and the 65400 stars picked at GitHub, Mr. Locke is still at the top of the schedule, gently encouraging everyone that Python is an "elegant", "clear" and "simple" programming language. The learning curve is low, and non-professionals can also get started. Project Portal: https://github.com/jackfrued/Python-100-Days
Finally, I would like to share with you some good ways to learn Python by yourself.
(1) We must take time to supplement theoretical knowledge. Many previous generations will emphasize learn by doing, learning while doing projects, of course, this is also the way I adopt. In this way, you keep making mistakes and correcting them. The learning efficiency is very high. However, many people go to the extreme, the end result is not to pay attention to the study of theoretical knowledge, you will find that your Google ability is getting higher and higher, but the real programming ability has not been improved, if you have this situation, you need to reflect.
(2) learn to ask questions. Good questions are asked on the basis of your own practice or thinking. It is important to be careful not to search the Internet directly when you encounter difficulties: "what's going on with this problem?" and "I don't understand if you can take a look at it for me."
(3) make good use of search engines to get the answers you want. The search engine here is not a certain degree, but Google, and we should learn how to use English to ask questions. If there is any wrong information, you can copy the error directly into the search box. 99% of the problems encountered by beginners can be answered and implemented on Stack Overflow.
(4) learn to read the wrong information. At the beginning of learning, we often ignore this point, but in fact, misinformation gives a lot of directional answers, so we can not blindly rely on search.
(5) learn English well. When we really use Python, official documents are good materials for further study. If you want to be the god of Python, you have to read more official documents. Good Python programmers go to learn official documents almost every year.
Thank you for your reading, the above is the content of "how to learn Python", after the study of this article, I believe you have a deeper understanding of how to learn Python, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.