pyinstaller no console code example
Example 1: pyinstaller no console
python pyinstaller.py --noconsole yourscript.py
Example 2: no console pyinstaller
pyinstaller --noconsole --onefile yourprogram.py # in terminal
python pyinstaller.py --noconsole yourscript.py
pyinstaller --noconsole --onefile yourprogram.py # in terminal