Some commands: Creating an executable from a Python Script

Installing PyInstaller

pip install pyinstaller

Building the executable:

pyinstaller.exe –onefile –windowed app.py

If you have problem error 14001 on Windows XP use this:

pyinstaller   – – clean   – – win-private-assemblies   – F   – – windowed   – – name giodo    – – icon=icon.ico giodo.py

Leave a Reply

Your email address will not be published. Required fields are marked *