Python application scenarios

Web application development (45%)

Python is often used for web development. For example, through the mod_wsgi module, Apache can run Web programs written in Python. Python defines the WSGI standard application interface to coordinate the communication between the Http server and the Python-based Web program. Some web frameworks, such as Django, TurboGears, web2py, Zope, etc., allow programmers to easily develop and manage complex web programs.

Automated scripts for operating system management and server operation and maintenance

Python is a standard system component on many operating systems. Most Linux distributions, as well as NetBSD, OpenBSD, and Mac OS X, have Python integrated to run Python directly from the terminal. There are some Linux distributions with installers written in Python, such as Ubuntu's Ubiquity installer, Red Hat Linux and Fedora's Anaconda installer. Gentoo Linux uses Python to write its Portage package management system. The Python standard library contains several libraries that call operating system functions. Through pywin32, a third-party package, Python can access Windows COM services and other Windows APIs. Using IronPython, Python programs can directly call the .Net Framework. Generally speaking, system management scripts written in Python are superior to ordinary shell scripts in terms of readability, performance, code reuse, and scalability.

Web crawlers (45%)

Python has a large number of HTTP request processing libraries and HTML parsing libraries, as well as mature and efficient crawler framework Scrapy and distributed solution scrapy-redis, which are widely used in crawler applications.

Scientific Computing

NumPy, SciPy, Pandas, Matplotlib allow Python programmers to write scientific computing programs.

desktop software

PyQt, PySide, wxPython, and PyGTK are tools for rapid development of desktop applications in Python.

Server software (network software)

Python has perfect support for various network protocols, so it is often used to write server software and web crawlers. The third-party library Twisted supports asynchronous network programming and most standard network protocols (including client and server), and provides a variety of tools, which are widely used to write high-performance server software.

game

Many games use C++ to write high-performance modules such as graphics display, and use Python or Lua to write game logic and servers. Compared with Python, Lua has simpler functions and smaller size; while Python supports more features and data types.
• Idea implementation, product early prototypes and iterations
Google, NASA, Facebook all use Python heavily internally.

Guess you like

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