Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Micropython or minimal python installation

Tags:

python

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 that?

Thanks

like image 971
reshefm Avatar asked Jun 14 '10 07:06

reshefm


People also ask

Which Python should I download?

Typically, developers download the Python core for the most recent release of the language from python.org, and then source any third party packages, libraries and components they may require for their project from the Python Package Index (PyPI).

Which version of Python should I use?

Choose the right Python version and distribution1 is the most current version. The safe bet, then, is to use the latest update of Python 3.7 (in this case, Python 3.7.

What is Python minimal?

minimal subset of the Python language (default version)This package contains the interpreter and some essential modules. It's used in the boot process for some basic tasks.

Where should you install Python?

Locate the Python installation directory on your system. If you followed the steps exactly as above, python will be installed in below locations: C:\Program Files (x86)\Python37-32: for 32-bit installation. C:\Program Files\Python37-32: for 64-bit installation.


1 Answers

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.

like image 194
ʇsәɹoɈ Avatar answered Oct 17 '22 04:10

ʇsәɹoɈ