Joke Collection Website - Joke collection - Is Python easy to learn?
Is Python easy to learn?
If you have a certain basic knowledge of computer programming, it is easy to learn; and if you are very interested in programming, it is easy to learn.
1. Find a suitable introductory book, read it roughly once, cycle, judge, and understand common categories (skip if it is too difficult)
2. Do some simple exercises , string comparison, reading dates, etc. Python Cookbook is good (too difficult and boring, skip it again, maintaining interest is the most important, you can learn it again later)
3. Join Python Discussion group, with a friendly and smiling attitude (very important, so that the experts will patiently correct your wrong common sense). There are many small problems that have been tangled for a long time. The other party can provide you with ideas in one sentence, which really saves you a lot of time. Thank you very much for your patience in teaching me.
4. Solve your own computer problems. For example, when downloading an American TV series, I downloaded episodes 2, 4, 5, and 8 scatteredly, but the TV series has 12 episodes. How do I find out which episodes are missing? Then the problem is decomposed, 1. Read all downloaded file names, 2. Extract the numbers of the set, 3. Sort the numbers and compare them with (1--12) to find the missing ones.
5. Always remember the purpose, not to be a programmer, but to solve problems. For example, if you want to lazily capture web content, you can’t use urllib or request. Then you find that capturing content involves so many aspects (cookies, headers, SSL, url, javascript, etc.). Of course, you can listen to others’ advice and go back and study hard. , read from the beginning. Or, instead of looking for efficiency, just looking for a solution, is it okay to open the web page in IE and save it as? IE has rendered all the results. The question becomes: 1--Open the specified 10 web pages (one line of code will do). Want to save something more complex? Use existing packages, such as PAM30 (mine is Python3), open IE directly, use the function outHTML to save as text, and then use the search function (str search will also work, re regular will also work) to find the data. Simple right? And the code is super short.
6. Stay interested and use the simplest way to solve the problem. Leave it to the experts to write about the underlying drivers and various exchanges. We use existing packages to complete.
7. Read documents patiently and practice reading documents quickly. When you get a new package and find the functions you need, you need to read it quickly. This is not difficult. If you read the function name, you can probably guess what it does, and then look at the return value to judge whether it is what you need.
8. Write help files and study notes, and publish them for sharing. When you teach others, you are actually thinking about it yourself again. I think learning programming is like learning English. Once you understand the high-frequency words (loops, judgments, commonly used packages, commonly used functions), you can assemble the software you want. Be sure to stay interested and skip anything that is too complicated, just like primary school mathematics and primary school English, which are all from simple to advanced. The Internet is very flat. Countless international experts have written good books about Python, algorithms, computers, networks, or programmer thinking, or business thinking (Top of the Wave is a good book), etc., and there are also online open courses from famous international schools ( The Chinese and English subtitles have been translated, so it is not difficult to watch.) It talks about computers, networks, security, or Android systems. It has everything. As long as you can continue to be interested and learn little by little, it is not difficult. All genius programmers were once children and returned to children's thinking to understand and learn. If you find something interesting, learn it first. If you don’t understand it, leave it alone. If you encounter problems, you can learn it again. The effect will be better. The only suggestion is, don't be too greedy, be patient and learn an elegant language before learning others. Although Javascript is very cool when doing special effects, or when asking a certain question, some experts suggest that it would be better to use Ruby to write it, etc., do not change the direction. It's like the old joke: "To learn recursion, you must first understand recursion." And then the endless loop continues. Keep learning one language well and then study others. Even if you can learn the parts related to the network, database, etc. of a language well, it will be very fast to learn other languages.
The other thing is, use the same patience as learning English to learn computers. When you encounter words you don’t understand in English, copy them down and look them up. In Python, when you see Http, look up the definition. When you see outHtml, look up the definition. Just like when you first learned English, don’t guess the meaning directly, because there is a difference between precise descriptive definitions and vague natural language. It is easy for newcomers to misunderstand things if they make blind guesses. Wiki and Google are very useful.
For python beginners, it is extremely important to find a good teacher to learn from. This can determine whether you can make a good project. The road to python development will become easier and easier. If you are now If you lack learning experience and can't find a teacher to guide you in your studies, you can add Penguin Button - 112 in front of Q plus 983 in the middle and the last four digits 4903, just connect them together.
If assembly is the first generation of programming languages, then C and C are the second generation of programming languages, C#, Java, etc. are the third generation of programming languages, and Python and other similar scripting languages ??are the fourth. Generation programming languages ??(except for assembly, these languages ????are all programming languages ????under the C language family, and analogies can be made). Starting from C is a watershed. It makes programming transition to high-level programming through object-oriented and encapsulation of underlying technologies, and to Python It is already very popular, at least compared to before, so if python is not easy to learn, what about other languages? Almost every python textbook will first state that python is an easy to learn and use language. This is also the language One of the purposes of its creation is that Google programmers like to use Python to write various tools because of its language resume and high coding efficiency, which makes people who are used to other languages ??willing to use this new language. It also shows how easy it is to learn.
In addition, in a broad sense, Python is not only a programming language, but also a programming platform. Under this platform, there are tools pip for installing various extensions and frameworks, packaging tools setuptools, etc. , these tools are very mature and easy to use. In addition, Python has many good programming tools (integrated development environments) available, such as PyCharm, etc., which also makes it easy for newcomers to get started, unlike other immature programming language tools. Hard, writing and running programs is like connecting to a circuit board.
- Previous article:How to write a letter to a patient
- Next article:Old professor joke
- Related articles
- Some ancient poems, two-part allegorical sayings, couplets or jokes about homophonic Chinese characters.
- Why do some women always like to laugh at men? What type are they?
- Dream of your own omen.
- The classic sentence-making of laughter
- Dumas and Dumas related information
- Others look down on your performance.
- Yilin, small readers, story meetings, the most novel, how to contribute to them? What is the submission standard? Be comprehensive
- The annual meeting can't stop What do you mean by granularity alignment?
- An interesting and inspiring joke.
- According to Tian Ming Yi Heng's Sketch of Boiling Springs, what is the best technology to make white tea?