Answers for ".py to exe converter online"

19

python to exe

pip install pyinstaller

cd FullPathOfFile in cmd console
pyinstaller --onefile pythonScriptName.py
# a .exe file is created in the FullPathOfFile\dist
Posted by: Guest on May-29-2020
0

py to exe converter online

#Convert .py to .exe don't use python ver 3.9 will not work recomment 3.8:

pip install pyinstaller

#to convert to a simple exe file the exe file will be in your dist folder
pyinstaller 'fileName.py'

#to convert to a onefile exe file the exe file will be in your dist folder
pyinstaller --onefile 'fileName.py'

to convert to a onefile exe file and the python window will not appear
pyinstaller -w --onefile 'fileName.py'
Posted by: Guest on August-05-2021

Python Answers by Framework

Browse Popular Code Answers by Language