python pyinstaller.py --noconsole yourscript.py code example Example: pyinstaller no console python pyinstaller.py --noconsole yourscript.py