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
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).
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.
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.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With