pyinstaller --noconsole --onefile yourprogram.py # in terminal
python pyinstaller.py --noconsole yourscript.py