第44页 | Learning Python | 阅读 ‧ 电子书库

同步阅读进度,多语言翻译,过滤屏幕蓝光,评论分享,更多完整功能,更好读书体验,试试 阅读 ‧ 电子书库

Gaming, Images, Serial Ports, XML, Robots, and More

Python is commonly applied in more domains than can be mentioned here. For example, you can do:

 

 
Game programming and multimedia in Python with the pygame systemSerial port communication on Windows, Linux, and more with the PySerial extensionImage processing with PIL, PyOpenGL, Blender, Maya, and othersRobot control programming with the PyRo toolkitXML parsing with the xml library package, the xmlrpclib module, and third-party extensionsArtificial intelligence programming with neural network simulators and expert system shellsNatural language analysis with the NLTK package

You can even play solitaire with the PySol program. You’ll find support for many such fields at the PyPI websites, and via web searches (search Google or http://www.python.org for links).

Many of these specific domains are largely just instances of Python’s component integration role in action again. Adding it as a frontend to libraries of components written in a compiled language such as C makes Python useful for scripting in a wide variety of domains. As a general-purpose language that supports integration, Python is widely applicable.

请支持我们,让我们可以支付服务器费用。
使用微信支付打赏


上一页 · 目录下一页


下载 · 书页 · 阅读 ‧ 电子书库