How about pseudo-original little hair cat [php source code]

Hello everyone, the editor will answer the question of which book is good for beginners to learn python by themselves. Many people don't know what foundation is needed to learn python by themselves, let's take a look now!

 

Screenshot of locomotive collection ai pseudo-original plug-in:

At present, python can be said to be a very popular programming language, with a wide range of applications, high wages, and excellent future development.

How should Python be learned? I myself started learning Python from scratch at first, so I would like to share with you the learning ideas and methods of Python. Blindly buying books, reading books, and watching videos is difficult to achieve the desired effect, and even in the middle stage, the idea of ​​giving up may arise.

1. The 4 stages of learning Python

There is no exact answer to how long it takes to learn Python. This varies from person to person, so I roughly divide the process of learning Python into four stages, and tell everyone when to learn what. As for the time and progress of learning, it is up to you up.

Phase 1: Understand the basics of Python programming

The first thing you need to understand is variables, programming specifications, basic grammar, etc. This is the premise to ensure that you can start writing Python code.

The second is data structures, strings, lists, dictionaries, and tuples. These also need to be very proficient, because data types will run through your learning and using Python.

The second stage: learning Python functions and process control

When you have learned Python functions and control statements, you can try to solve real problems, learn how to realize judgment and looping, and how to encapsulate fixed functional modules into functions. These are all necessary to ensure that you write code condition.

Functions mainly learn the methods of definition, calling and parameter passing, and can proficiently write functions to realize different functions corresponding to them. This process pays more attention to details, so repeated practice is required.

For flow control, you need to master conditional statements and looping statements, which can be used in different scenarios, and know the process of judgment and loop implementation. After learning these, it is almost the same.



The third stage: using Python for actual combat When it comes to actual combat, this is related to the understanding of third-party libraries, because in this way you can use Python to accomplish more things, such as using pandas for data processing, using BeautifulSoup to write crawlers, and using Flask to build websites , Use matplotlib for data visualization analysis...

Proficient use of third-party libraries can save you a lot of time, because these are used by everyone, so they are more stable and less prone to bugs. You don’t need to write code yourself. You can delete and modify other people’s code and use it yourself. That’s okay, if you want to learn crawlers or build websites, you need to know other knowledge, the more you learn, the more you will learn.

Phase 4: Deep learning about Python programming

If you just want to use Python to complete some simple work tasks, the first three stages of learning are almost enough, because you can already perform basic data analysis, web crawlers, and write tool scripts, which are more than enough to improve work efficiency.

But if you want to develop into a deeper field and aim to change employment, then you have to choose a direction you are optimistic about and study in depth. You need to understand the advanced features of Python, such as iterators, generators, and decorators. Classes and object-oriented concepts.

Going deeper, you can explore the implementation principles of Python, performance optimization methods, jump out of the language itself, and understand the interaction principles of computers. There is still a long way to go. This is not a process that can be achieved in a short time. You also need to be mentally prepared Prepare.

Put a mind map below

2. Clarify the employment direction of Python

Because there are many jobs related to Python, here I will briefly summarize what you need to do with Python in the work of different industries, and also give you employment as a reference

  • Back-end programmers: use it for a single website, and the background service is easier to maintain.

  • Automated testing: written as a simple implementation script, used in Selenium/lr to realize automation.

  • Data analyst: rapid development and rapid verification, analyze data to get results.

  • Website development: build the website by yourself with the help of django and flask framework.

  • Automated O&M: Automatically handle a large number of O&M tasks.

  • Game developers: generally embedded in the game as a game script.

You don’t have to worry about getting a job after learning Python. There may be some differences in salary and treatment in these industries, but overall it is still very good. I will not say which direction is the best to develop. Learn what you are most interested in.

It is essential to learn Python introductory materials. It has been packaged for you, and you can get comments and messages

Remember to be careful after reading~

Guess you like

Origin blog.csdn.net/mynote/article/details/132178336