Home > Article > Backend Development > What can python do?
Python can perform: 1. Web development; 2. Data science; 3. Data processing; 4. Artificial intelligence, etc.; 5. Web crawlers; 6. Linux system operation and maintenance; 7. Game development; 8 , desktop application development.
Python's Chinese name is python, which is a computer programming language; it is a dynamic, object-oriented scripting language. It was originally used to write automated scripts. As the version is constantly updated and new language features are added, it is increasingly used for the development of independent and large-scale projects.
There are many uses of python. The following are the common uses of python:
1. Web development
pytyon has a very complete and A library for interacting with web servers, as well as a large number of free front-end web page templates. What's more advantageous is that there is a very excellent and mature Django web framework with all functions.
2. Data Science
Data science includes machine learning, data processing (data analysis and data visualization).
1) Data processing: Python, as an engineering language, has quite a wealth of class libraries for data processing, such as the high-performance scientific computing libraries NumPy and SciPy; the famous cloud computing framework OpenStack It is developed in python
2), machine learning: can study artificial intelligence, robots, language recognition, image recognition, natural language processing and expert systems, etc.
3, web crawler
Web crawlers, also known as web spiders, refer to script programs that crawl the required content on the web according to certain rules. As we all know, each web page usually contains entrances to other web pages, and web crawlers use one URL to enter other URLs in sequence to obtain the required content.
In the field of crawlers, python is the leader. Python has a very rich library to access the interface API of web page documents and to quickly process later web page documents.
4. Linux system operation and maintenance
In fact, in the early days, shell scripts were used to achieve automated operation and maintenance, but because of the shell script itself The programmability ability is weak, and there are few libraries for some functions that need to be implemented. Most of them need to be written from scratch. However, Python, as a "glue language", can be easily integrated with other tools to facilitate various tools. Develop secondary development and form its own operation and maintenance management system.
5. Game development
Python may not be as good as Lua or C in terms of game development, but due to the advantages of python scripting, it is similar to game scripts, The gameplay logic and other very flexible designs are very convenient for us to modify. Of course, if you develop a small game program, python still has advantages. The more famous one is pygame, which may be a boon for our own entertainment.
6. Desktop application development
Desktop software In the field of window system desktop development, I believe that C MFC should be widely used, and python can implement C Seamless integration, and supports both Qt and GTK.
Recommended video tutorials: "python tutorial", "python3 tutorial"
The above is the detailed content of What can python do?. For more information, please follow other related articles on the PHP Chinese website!