开发者

Micropython or minimal python installation

开发者 https://www.devze.com 2023-01-03 03:57 出处:网络
I once read about minimal python installation without a lot of the libraries that come with the python default installation but could not find it on the web...

I once read about minimal python installation without a lot of the libraries that come with the python default installation but could not find it on the web...

What I want to do is to just pack a script with the python stuff required to execute it and make portable.

Does any one know about something like th开发者_如何学运维at?

Thanks


Micro Python is actively maintained and has been ported to a bunch of microcontrollers.

For other small implementations, you might also want to check out tinypy or PyMite.

If you don't care about size, but really just want an easy way to distribute a python program, consider PyInstaller or one of the others on this list.


Portable python might do what you want. It's a python installation for USB thumb drives.


There's now finally Micro Python, claiming to be full reimplementation of Python 3 core, fitting even into medium-size 32bit microcontrollers. API will be different of course, so C modules will require porting. Project is funded via KickStarter, source code will be released some time after the campaign (request for consideration was made to author to not delay release of the source, to help bootstrap Micro Python community sooner).

http://micropython.org/


You can also look for already installed instances.

OpenOffice / LibreOffice

Look at the environment variable UNO_PATH or into the default install directories, for example for Windows and LO5

%ProgramFiles(x86)%\LibreOffice 5\program\python.exe

Gimp

look into the default install directories, for example for Windows

C:\Program Files\GIMP 2\Python

and so on...

0

精彩评论

暂无评论...
验证码 换一张
取 消