pyinstaller -F tools2.py --noconsole
或者 pyinstaller -F -w example.py
直接打包:
pyinstaller -F -w example.py