pyinstaller.exe -F -i .\ff.ico .\hhshell.pyw python免弹窗运行(dos窗口) 方法1:pythonw xxx.py 方法2:将.py改成.pyw (这个其实就是使用脚本解析程序pythonw.exe)