Lightweight python to execuable?

466 views Asked by At

I have been using pyinstaller as my method of turning a python file into an executable. However, the executable's size is over 6mb for even a small application such as printing "hello world"

I did some research and found out that there was a program called nuitka that compiles the file down to language C and does some optimizing. However, it turns out that nuitka still needs libpython and is therefore creates executables of large sizes.

So is there any program or compiler that can turn a python file into a lightweight executable?

0

There are 0 answers