2 years of self-study experience in python automation programming, sharing some learning experience and experience of avoiding pits

Insert picture description here


Before I started learning python programming, I was a pure novice with 1 and a half years of administrative miscellaneous experience. I didn’t know how to program. I came into contact with python by chance, so I started to learn python in my free time. I have taught myself python for 2 years, and I have some learning experience and experience in avoiding pits to share with you. I hope that I can help some friends who have already started and are ready to start, and avoid detours.

First of all, what is the biggest difficulty for python beginners? It is not self-confidence, denying yourself, setting up psychological barriers, and feeling that each programming code cannot be understood or learned. This kind of thinking is to prevent oneself from mastering the biggest obstacle to a language, just like a baby learning to walk. If you are afraid of falling and don’t learn, then you will never be able to walk normally in this life. Although the metaphor is not appropriate, what you want to express is to Try it first, find fun in the learning process and then master it, you can always learn. For example, learn the basic commands first, such as printing a sentence, you can have a full sense of accomplishment. From a small sense of accomplishment, you can experience the fun of programming a little bit, and over time you will study the grammar of python to master it.

Insert picture description here

Zero-based Xiaobai doesn't know how to experience this sense of accomplishment? Here I share my own experience and feelings. For Xiaobai, it is the best to find someone to take. It’s difficult to get started at first. Looking for videos everywhere, it’s still unable to form a systematic learning path. If someone takes it, it will be much more efficient than self-study. You can try to add the following Python learning group, which is more suitable for beginners with 0 basics. There are live courses every day. Daniel will guide you to get started, so you can avoid a lot of detours. Listening for 2 hours every night after get off work is much more efficient and quicker than trying to find it yourself. They will share some learning software and materials for free. Following learning, you will start unconsciously, and you will have a sense of accomplishment. Below is the group link, you can join the free live class to receive materials!

After listening to the live class, you will be able to master some basic commands and grammar. Next, you will learn what problems and difficulties python can solve at work. For example, python can write crawlers, can do websites, and can do data analysis. During the period, you will encounter lower-level difficulties. When doing networks, you should have a better understanding of some network protocols, similar to http protocols, as well as the principle of handshake and wave, and the principle of data request.

At the same time, you also need to use the configuration of the capture tool, the learning of data formats such as json, the learning of html, and the learning of js. In short, you will find that you encounter difficulties one after another, and the required pre-knowledge needs to be pitted. Fill in, these should be more painful, but it's a lot of fun.

Python itself will be stuck in the concept of object-oriented grammar learning, because the previous grammar is process-oriented, write a function and encapsulate it and it will be done. Later, when you encounter object-oriented, your thinking will change. Three characteristics , The concept of classes, inheritance, objects, polymorphism, encapsulation, and various magic functions require a lot of practice and understanding.

These are the python grammar itself. In addition to the network protocol, packet capture, and various requests libraries, the following python crawlers must also learn to improve the speed of multi-threaded, multi-process, distributed crawling, and also need proxy ip, Pseudo login, and other problems.

I’ve already spent a lot of time in capturing data. Next, I’m going to save the data. The database has to learn about the mysql sql statement mongodb and redis.

After finally saving the data, we have to analyze it. numpy pandas has to learn various functions to learn, so I started to find relevant information about python data.

After studying hard, the analysis of the data is almost the same, we must consider the data display, matplotlib seaborn echart is about to learn the js language, so you can make basic data charts after a wave of toss.

Then I hope to display it on the website for colleagues to see, so I have to learn network frameworks such as django flask, which can basically be displayed after a hard study.

Later, I found that I needed to optimize the website with higher performance and less coupling. I wanted to make the front and back ends separated, so I learned the restful development method and the vue framework to achieve the front and back ends separation.

Later, I found that my data analysis depth was not enough, so I added some knowledge of statistics, so I went into the pit of statistics to machine learning to deep learning, so natural language processing, computer vision, these rely on neural networks I'm getting started with the technology. Of course, these require a little bit of death. From linear algebra to handwritten neural networks, to application frameworks, it is the most fun to understand its principles step by step.

Insert picture description here

In short, the experience of self-study is painful but also a sense of accomplishment. Every time I learn something, I feel more satisfied.

The above are some of my experience in self-learning python for 2 years, which is rather messy. I hope it will be helpful to some beginner python friends. If you really want to learn python programming well, it is not a matter of overnight. Keep a fixed time every day to learn and write more code. You can definitely learn it in time. Regardless of whether you learn python for changing careers or taking orders as a sideline, as long as you persevere and find a job with a monthly salary of more than 10,000, it is not difficult to find a sideline with a monthly salary of more than 10,000.

It’s best to have a group of like-minded friends to learn python together. If you don’t understand, you can discuss with each other, and you can share the resources around you. This is also a shortcut for learning. I share a group that is suitable for zero-based beginners. The big cows here are not only Talk about basic knowledge, actual project combat, and also talk about how to get a job in python and how to take orders. It’s all free to share, so learn more while you’re young.

Finally: [mean force]


These materials should be the most comprehensive and complete preparation warehouse for friends who do [software testing]. This warehouse has accompanied me through the most difficult journey, and I hope it can help you too! Everything must be done as early as possible, especially in the technology industry, we must improve our technical skills.

Follow my WeChat public account: [Sad spicy strips】Get it for free~

My learning exchange group: 902061117 group has technical experts to communicate and share together~

If my blog is helpful to you, if you like the content of my blog, please "Like", "Comment" and "Favorite" with one click and three links!

Good article recommendation:

Ali Xiaohei sighed: More and more young people are retreating from the workplace?

Python is simple? Let's first test the 40 basic interview questions

App public test case combing

Some insights from a developer who switched to testing