Python Not many scenarios ?Python Applied to the Internet Web Application development 、 For operating system management 、 Automated scripts for server maintenance 、 Technology computing 、 computer software 、 transaction server ( Network software )、 game 、 Imagine realizing 、 Early prototype and iteration of products .
1、 The Internet Web Application development
Usually in Web Used in development Python. for example , Apache have access to mod_wsgi Module operation Python Compiling Web Program . In order to coordinate Http Server and based on Python Of Web Communication between programs , Python Defined WSGI Standard application interface .Django、 TurboGears、web2py、 Zope Wait a little Web The framework enables programmers to easily develop and manage complex Web Program .
2、 For operating system management 、 Automated scripts for server maintenance
Python Is a standard system component in many operating systems . Most of the Linux Distribution and NetBSD、 OpenBSD and MacOSX All integrated Python, Python It can run directly on the terminal . And use Python language-written Linux Distribution setup , Such as Ubuntu Of Ubiquity Erection sequence 、 RedHatLinux and Fedora Of Anaconda Erection sequence .GentooLinux Use Python Write its portal package management system .Python The standard library includes several libraries to call the functions of the operating system .Python It can be done through third-party software packages pywin32 visit Windows Of COM Services and other WindowsAPI. With IronPython, Python Programs can call . NET frame . Usually , Python Write the system management script in readability 、 performance 、 Code reusability and extensibility are better than ordinary shell Scripts are better .
3、 Technology computing
Matplotlib Company let Python Programmers can use NumPy、 SciPy Write scientific computing programs .
4、 computer software
wxPython, PyQt, Python, PyGTK yes Python A great tool for quickly developing desktop applications .
5、 transaction server ( Network software )
Python Support for various network protocols is perfect , So often use Python To write server software , Web crawler .Twisted Platform Supports asynchronous network programming and most standard network protocols ( Including client and server ), And provides a variety of tools , It is widely used to write high performance server software .
Many games use C++ Write high performance modules , Such as graphic display , Python or Lua Write game logic , The server . And Python comparison , Lua It's simpler to use , And smaller ; Python Support more features and data types .
7、 Imagine realizing 、 Early prototypes and iterations of products
Google, Yahoo, YouTube! and NASA It's also widely used internally Python. Zhengzhou infertility hospital :https://yyk.fh21.com.cn/hospital_6369.html Nanyang test tube baby hospital where good :https://yyk.fh21.com.cn/introduce_6369.html Shangqiu artificial insemination hospital which good :https://yyk.fh21.com.cn/hd_6369.html