how to hide terminal when changing py to exe pyinstaller code example Example: pyinstaller no console python pyinstaller.py --noconsole yourscript.py