In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
In this issue, the editor will bring you three questions and answers about Python beginners. The article is rich in content and analyzes and narrates it from a professional point of view. I hope you can get something after reading this article.
The first problem: I don't know where to start learning Python. Find the corresponding solution.
Python is a programming language, and any programming language cannot be separated from hands-on practice from the very beginning. It is impossible to learn by reading books and watching videos alone. Of course, reading books is very important. Reading books can form their own knowledge point system, thus forming their own methodology for Python. For beginners, I still recommend Mr. Dong Fuguo's "Python programming Foundation". This book is very suitable for rookies, the language is easy to understand, and the routine code is clear.
A good habit of reading a book is to understand a code routine in the book and immediately implement it yourself to see if the running result is the same as that in the book. Be careful not to copy it, and do not underestimate this seemingly stupid operation, because only after you have personally typed every line of code in the book that you seem to understand, will you have a deeper understanding of the details of Python programming, and then have a deeper understanding of every understanding gained here. It may be an inspiration for you to solve bug in the future.
After you have a general understanding of the knowledge system of Python, you can go to see the tutorials in your area of interest, which can be forum tutorials or video tutorials to strengthen the basic knowledge, accumulate coding experience and improve the coding level.
The second question: what are the correct and efficient postures for learning Python?
First, reading is divided into extensive reading, intensive reading, and studying; for example, those basic grammars, such as methods, objects, and common modules, can be read through quickly, because these knowledge points can be read once when they are needed. To read carefully is the list, dictionary, generator these knowledge points, it is best to eat through a knowledge point at a time, only master these knowledge points, can be used flexibly. The highest level is study, for a confused knowledge point, there is no answer in the book, there is no relevant experience on the Internet, which requires your own hands and brain, coding test to solve this doubt.
Second, write, write the understanding of intensive reading, write the experience of studying. Blogging has two great benefits. on the one hand, it allows more people to see your experience, which is fun in itself, and allows others to test the shortcomings of your summary. Second, next time you encounter a similar situation, you can quickly get to the point.
Third, one of the taboos of IT practitioners is to repeat the wheels. To achieve a function, you should first conduct extensive research before you start coding. You can go to the Github/ code cloud to see if there are similar wheels. Some words are directly migrated to use. It is not easy to start everything from scratch. It is better to stand on the shoulders of giants.
The third question: is it necessary to learn Python if you are familiar with C++/Java?
C++/Java is a compiled language and Python is a scripted language. The current talent trend is to master a compiled language and a scripting language at the same time. C++/Java may be your working language, but Python can be your tool. For most problems, using Python to verify conclusions is often the fastest. Python is a tool that can help you develop C++/Java more easily and quickly. The two are not contradictory.
These are the three questions and answers shared by the editor for beginners of Python. If you happen to have similar questions, you might as well refer to the above analysis to understand. If you want to know more about it, you are welcome to follow the industry information channel.
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.