0
How can I turn my . Py file to . Exe
2 Antworten
+ 4
Python is not designed to be compiled... And turning a '.py' file into a '.exe' file is basically embed the python interpreter, your script and all dependencies into one executable. So there is no advantage of converting it to an executable file.
If you want to share your code, tell the receivers to install python... just like you need to install Java to run '.jar' files.
However, if you really need to to it, then use auto-py-to-exe, which is a GUI tool based on pyinstaller.
+ 2
https://github.com/brentvollebregt/auto-py-to-exe
or
pyinstaller