you can use -w option in Pyinstaller. for example, pyinstaller -F -w FILENAME you can learn more by excute pyinstaller -h