The author | GitPython

Source | GitPython




01

Unconsciously, operation this number has a month of time.

Most of the writing is about the crawler small application, after all, crawler is the easiest entry, the most easy to make people have a sense of achievement.

One of the students practiced “how do I save a collection of public account history articles locally, in Python of course!” After careful analysis of the source code, and give a detailed summary.

There are also a lot of students, plus my wechat to tell where to pay attention to me.

Even as I write this article, I have students sharing details with me.

The feedback made me feel that what I was doing was meaningful.

Here, thank you! 😘



02

I also shared a learning material about Python. Sure enough, many students are rushing to the “data”.

Do you want to write some basics? I’m starting to struggle because there’s so much basic information on the Internet!

After thinking about it for a long time, I thought I should write. Although there are many, that does not mean that it is our own!

Only with experience combined with their own perception, write their own style, that is their own. At the same time is to consolidate knowledge for myself, but also to help you really get started.

Let’s do it!



03

1 first python

My first acquaintance with Python was in my undergraduate graduation project, which was to make a “Python-based Classroom Teaching management system”.

Through this project, I really got into the basics of Python syntax, even multithreading, forms development, databases, and communication protocols.

2 为什么是python

During the defense, the teacher’s first question was “What are python’s advantages?”

So, what’s my answer?

Look closely at the image above


Hahaha, how can it be that? I’m not gonna graduate if I say that.

Just kidding!

Okay, back to the point, here’s the bottom one!

“I replied

For now, these are the main reasons.

In addition, the Python community is strong. You encounter a pit, predecessors have walked do not know how many times.

So, you must learn to use good search engines, and good at summarizing, form their own knowledge system (blog).

3 What to do with Python

1) Scripting

Use Python to download videos from major video websites, use Python to grab train tickets, use Python to send regular weather forecasts to your girlfriend, and some people designed a set of code to automatically grab red envelopes…

2) Web crawlers

The beginning of a crawler is very simple, as long as you learn the basic syntax of Python, know how to use modules, you can do something from the web down.

The so-called “devil is higher than one foot, Taoism is higher than one foot”, a good interpretation of the relationship between reptiles and anti-reptiles. Later, you have to learn how to use frame crawlers, you have to know IP proxy pools, and you have to break the encryption of parameters.

I made a diagram that shows exactly what a crawler is doing.

The basic principles of reptiles

3) Website development

There are Django and Flask frameworks. However, learning website development, need HTML/CSS/JS /mysql and other foundations.

4) Data science, artificial intelligence

Because Python code is so easy to read and learn, it has become the programming language of choice for many companies developing artificial intelligence programs.

In addition to the success of Google’s AlphaGo using Python, Facebook’s open-source PyTorch has established it as the language of choice in the ERA of ARTIFICIAL intelligence.



No matter which direction you want to go, the basics are essential. Now that you have chosen this language, step forward!

I hope that through my sharing, I can bring value to you. Have any opinion, or you want to see what type of article, welcome to leave a message or private chat.

Your feedback is the biggest encouragement for me.