打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
Tiny Python

(Explain different instances, including "Tiny Python 2.5" available here. Relate to pertinent pages, including "Varieties" and EmbeddedPython.)

There have been many "slenderized" Pythons through the years, including

  • http://www.tinypy.org/ New (as of 04/2008) from-scratch implementation

  • this FTP directory of generations for MS-DOS, OS/2, and so on;(link appears dead)

  • Deeply Embedded Python - a project which once attracted considerable interest, but seemingly abandoned some time ago

  • Jean-Claude Wippler, Jeff Senn, Brian Lloyd and others have worked on tinyPython. One approach is to exploit "executable compressor" UPX: "This gets python15.dll down to 220K and seems to work for me";

  • [Explain Pyco and PythonD ];

  • Pippy is Python for the Palm; (link appears dead)

  • [museum]

Embedded Python

Python can be used in embedded, small or minimal hardware devices, depending on how limiting the devices actually are.

Devices capable of running CPython

Some modern embedded devices have enough memory and a fast enough CPU to run a typical Linux-based environment, for example, and running CPython on such devices is mostly a matter of compilation (or cross-compilation) and tuning.

Devices which could be considered as "embedded" by modern standards and which can run tuned versions of CPython include the following:

See also PythonForArmLinux and OpenEmbedded.

Work to improve CPython for embedded applications

Various efforts have been made to make CPython more usable for embedded applications:

Reduced or reworked Python implementations

Some devices may be more restrictive in that the typical memory footprint of CPython may exceed the amount of memory available on the device. In such cases, a re-engineered or adapted version of CPython, perhaps even to the point where it can be considered a new implementation of Python, might be appropriate.

Examples of such implementations include the following:

On the other hand, one can start with a full build, and simply remove unneeded modules, e.g., Tkinter, etc., to realize a reduced-size Python with little effort.

Python-based tools for developing embedded applications

Sometimes the embedded environment is just too restrictive to support a Python virtual machine. In such cases, various Python tools can be employed for prototyping, with the eventual application or system code being generated and deployed on the device.

Tools that support this kind of development include the following:

本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
【热】打开小程序,算一算2024你的财运
《计算机专业英语》Unit 5 What is Operating System
What Is Cloud
A Comparison of Flash Devices for Embedded System Booting
Python解释器哪个好?
eCosPro-C/PEG GUI for eCosPro
µVision User's Guide: About µVision
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服