What can you use to learn Python? After reading this article, you will know

In recent years, Python has made great strides in the field of AI and data analysis. According to the Stack Overflow research report, Python's monthly active users have surpassed Java and become the first!

There are too many things that Python can play, and today I will talk about a few more interesting ones:

1. flirting with girls

In order to chase a certain girl, someone used Python to do a very advanced operation:

Send an email every morning to remind the girl about the weather today. After being together, it is still like this every day, except that "Today is the xx day we are together" in front of it. Some people wrote a small script, and the girl they liked posted on Weibo and liked them automatically...

Image source: Internet

2. Cheap air tickets

When you go out for travel or international students and need to buy round-trip air tickets, in order to buy the lowest or relatively low-priced tickets, you often need to download several mobile apps, or log on to different websites for several days to compare prices back and forth!

Not to mention time-consuming and laborious, sometimes after buying tickets, you find that there are cheaper ones, which is very "blue and thin". . .

However, use Python (BeautifulSoup, Tinyurl, Googlevoice package) to write a program to grab the air ticket website query result webpage, put it on the Amazon EC2 server, grab the ticket price of the webpage every fifteen minutes, and call Google Voice if the price is lower than a certain price. The texting function of the URL sends a text message to yourself and grabs a ticket!

2. Grab a train ticket

Similarly, Python can also be used to grab train tickets. I believe that friends who work or study in different places in China have experienced it. Tickets for the Spring Festival are really hard to grab. TnT...

No matter how difficult it is, home still has to be returned, and tickets still have to be grabbed. The project that uses Python to grab tickets on GitHub returned to the Top list before the Spring Festival.

The name of the project is very straightforward, which is " 12306 ", from a programmer named Wen Xianping . This is probably the most respected ticket-buying assistant in GitHub, and the function is constantly being updated!

4. Do Photoshop

PS, as one of the four great inventions in the world, can be said to be used to the extreme by the vast number of netizens.

Image source: Internet

To do PS with Python, you need something called PIL. The full name of PIL is Python Image Library. As the name suggests, it is used for image processing. It is a Python library that can achieve many effects in PS,

Things that PIL can do related to image processing include:

Image Archives. PIL is very suitable for image archiving and batch processing of images. You can use PIL to create thumbnails, convert image formats, print images, and more.

Image Display. Newer versions of PIL support interfaces such as TkPhotoImage, BitmapImage, and Windows DIB. PIL supports numerous GUI framework interfaces that can be used for image display.

Image Processing. PIL includes basic image processing functions, including point processing, filtering using numerous convolution kernels, and color space conversion. The PIL library also supports image resizing, image rotation, and arbitrary affine transformations. PIL also has some histogram methods that allow you to show some statistical properties of an image. This can be used to achieve automatic contrast enhancement of images, as well as global statistical analysis, etc.

5. Drawing with Python

Now that you can PS, what's so difficult about drawing?

Use python's deep learning algorithm package to train the computer to imitate the style of the world famous painting, and then apply it to another painting, not to mention the picture directly!

The picture on the left is Van Gogh's "Starry Night" as a template, the picture in the middle is the picture to be transformed, and the picture on the right is the result.

Image source: Internet


Why is Python rising so fast and popular in recent years?

From the language itself: Python code style is simple, easy to read / free and open source, has a strong community / is compatible with most platforms / object-oriented / rich standard library & third-party library...

Today, we are gradually entering the era of artificial intelligence, and the application of big data, data analysis, machine learning, etc. is becoming more and more extensive, so Python just conforms to the needs of this era.

Python can do a lot, and for students learning Python, it is also very important to choose a clear direction.

Here, I will share with you a complete set of Python learning materials, and give you a little help for those who want to learn Python!

1. Learning software

If a worker wants to do a good job, he must first sharpen his tools. The common development software for learning Python is here, which saves everyone a lot of time.

2. A full set of PDF e-books

The advantage of books is that they are authoritative and systematic. When you first start learning, you can just watch videos or listen to someone’s lectures, but after you finish learning, you think you have mastered it. At this time, it is recommended to read books. Authoritative technical books are also the only way for every programmer.

3. Practical cases

Optical theory is useless. You have to learn to follow along, and you have to do practical exercises before you can apply what you have learned to practice. At this time, you can learn from actual combat cases.

4. Interview information

We must learn Python in order to find a high-paying job. The following interview questions are the latest interview materials from first-tier Internet companies such as Ali, Tencent, and Byte, and some Ali bosses have given authoritative answers. After finishing this set The interview materials believe that everyone can find a satisfactory job.

This full version of Python's full set of learning materials has been uploaded to CSDN. If you need it, you can scan the CSDN official certification QR code below on WeChat to get it for free [ 保证100%免费].

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326315927&siteId=291194637