These 10 Python projects are fun

Foreword:

Python can be said to be a scripting language that many people are learning or want to learn now. When it comes to learning, it is inevitable to practice with projects, but ordinary projects are not interesting at all. There are many Python project tutorials upstairs in the laboratory. Find here 10 more interesting projects, you can take a look, maybe you will be interested.

[Python image to character painting]

Complete the picture-to-character drawing widget with 50 lines of Python code. Through experiments, you will learn Linux command line operations, Python basics, the use of pillow library, and the use of argparse library.

[Use Python to generate fractal pictures]

Use the Python Turtle module to enhance your understanding of recursion by drawing three kinds of curves: Fractal tree, Koch snowflake and Dragon curve.

【Python3 Porn Image Recognition】

To use Python3 to identify whether the image is a pornographic image, we will use PIL, an image processing library, and write an algorithm to divide the skin area of ​​the image. It involves the basic knowledge of Python 3, skin color pixel detection and skin area division algorithm, the use of Pillow and argparse.

[Python solves the problem of renting a house]

Use Python script to crawl the listing information of a rental website, use AutoNavi's js API to mark the listing location on the map, and delineate the range that can be reached within 1 hour from the work place. In the process of project implementation, I am familiar with the simple use of libraries such as requests, BeautifulSoup, and csv.

[Python3 implements a train ticket query tool]

Use Python3 to crawl 12306 website information to provide a command-line train ticket query tool. Through the implementation of this project, you can be familiar with Python3 basics and network programming, as well as the use of docopt, requests, prettytable and other libraries.

[Python3 & OpenCV video to character animation]

Use OpenCV to process pictures and videos, convert the videos into character drawing sequences, and then play character animations in the terminal. In addition to the operation of OpenCV, the project will also understand the use of cursor positioning escape encoding.

[Python3 & OpenCV video to character animation]

The 'Eating Philosophers' problem is a classic problem in computing to demonstrate the problems that arise when multiple threads are synchronized in concurrent computing. The course tackles the ''Dining for Philosophers'' problem in three different ways. Deepen your understanding of threads, deadlocks, and livelocks.

[Python3 & OpenCV video to character animation]

I will lead you to overcome the difficulties in the Python Challenge step by step, and improve your Python level in one after another open-minded Python problem.

[Trump bumps into Hillary's face (OpenCV-based facial feature exchange)]

The project uses the OpenCV library to achieve face feature exchange. In fact, the eyes, nose and mouth of the second face are automatically cropped and covered by the program to the first face, and in order to make the modified photos look better. To be more natural, we also need to adjust the skin color.

[Python 3 realizes image conversion to color characters]

By using the docopt library and the Pillow library to build a command line parser to obtain the specified image and convert it into a color character image of the corresponding style, and print the converted image on the terminal. You can try to choose your favorite avatar picture to make your own colorful character avatar!

postscript:

The 10 Python projects introduced above are quite interesting, and I hope they can add some fun to your learning python.

In the end, I also presented a python gift package to everyone [Jiajun Yang: 419693945] to help everyone learn better!

Guess you like

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