Combine learning experiences and talk about how to learn Python

Combine your own learning experiences and talk about how to learn Python.

Entry stage

In fact, Python is very close to natural language, so getting started is not too much trouble. If you have never been exposed to programming, I would recommend a Udacity CS101. This computer introduction course, you can search for it yourself, and don't link. This class not only explains some of the grammar of Python, but also some basic concepts of computers.

Of course, if you think that the video is too slow for you, recommend a book called "A Byte Of Python", and then knock it yourself according to the code in the book. The basic grammar has been said. After knocking it out, probably It is also an introduction. This book is also easy to find through search engines, and there is little difference between Chinese and English. Of course, the most important thing is that you must not copy the code in the book, then run it, learn programming, and you can't do it. And in the process of knocking, it is inevitable that there will be some wrong places. At this time, according to the error information, it is excellent to learn how to debug. Of course, in this process, you can also be familiar with the Python programming environment.

The programming environment can be selected from text editor + command line, or IDE. The former recommends Sublime Text, the latter recommends Pycharm, of course, this is just a recommendation.

Combine learning experiences and talk about how to learn Python

After reading "A Byte Of Python", you should have a certain understanding of most of the syntax, such as control statements, functions, objects, etc. At this time, I strongly recommend everyone's Python tutorial for Liao Xuefeng. This tutorial is very basic, but this tutorial is very basic, but Later, I will start to talk about some advanced features of Python. After reading it, you will sigh. "My God, the code can still be written like this." It will also mention that IO programming, network programming, database operations, etc. are also considered as small application scenarios. And the tutorial combines some reminders of the author's stepping on the pit, which is very helpful for the novice. At the end of the tutorial, there is a one-week little exercise, which is to write a blog that can learn what you have learned, and immediately show it to people around you. This is a great positive incentive for beginners. It is worth emphasizing that the code and exercises in the tutorial are best done. A lot of things are often not as simple as you think. Start writing and you will find many problems.

For practice, I recommend a website called codewar, which is a website for online programming. There are many algorithm questions on it. It is difficult and step-by-step. The entry question is to write a summation function. It is very important for novices. The mechanism, as well as the community leaderboard, allows you to experience the feeling of leveling in the online game.

Combine learning experiences and talk about how to learn Python

Application stage

After you get started, if you don't have a clear goal, then you can do some hands-on projects to consolidate what you have learned. The more common one is to write a crawler, use a framework such as Flask, Django, etc. to write a web application. of. But not limited to these, mainly depends on your own interests.

Searching for "python hands-on project" through search engines will bring out a lot of resources, and there is no link here.

The ideal learning process is to first think about how to achieve it according to the needs of the project. There is really no idea. Then look through the code on the Internet to see how others are implemented. Then follow the other people's methods to achieve it yourself. In the process of implementation, you must not clone the other people's code, and the success will be satisfied. Combined with the documentation, it is important to slowly understand the meaning of other people's code. This will also exercise your ability to check documents, which is very important for a programmer.

It is worth mentioning that the topic of machine learning and artificial intelligence is very hot, but I don't recommend that you practice these projects from the beginning. Because many of these projects are mainly for you to call the open source framework, and then adjust the package, because you do not understand the principle of the algorithm itself, so many times you do not understand why you should do this, I feel that the help for everyone is not that big. If you really want to get involved in this field, it is strongly recommended to look at some books related to algorithm theory.

Combine learning experiences and talk about how to learn Python

In-depth stage

Since the answering party has not yet reached this stage, I can't give you good advice. I hope that one day I can make up for this part.

Just post a list of the books you have collected.

"Learn Python The Hard Way"

Smooth Python

Python Cookbook

"Effective Python"

They are all highly praised books, and I hope to help everyone.

Medical Pressure Gauge

Medical Pressure Gauge,Mini-Sized Gauge Medical Device,Oxygen Cylinder Gauge,Oxygen Tank Gauge

ZHOUSHAN JIAERLING METER CO.,LTD , https://www.zsjrlmeter.com