【发布时间】:2013-01-24 20:31:23
【问题描述】:
我正在使用 wxpython 开发 GUI,并使用 pyinstaller 编译它。一切正常,但在程序实际午餐之前总是会弹出一个黑色外壳窗口。 (就像你使用 python 而不是 pythonw 来运行脚本)
我的问题是,如何避免这种情况?
【问题讨论】:
标签: python shell compilation wxpython pyinstaller
我正在使用 wxpython 开发 GUI,并使用 pyinstaller 编译它。一切正常,但在程序实际午餐之前总是会弹出一个黑色外壳窗口。 (就像你使用 python 而不是 pythonw 来运行脚本)
我的问题是,如何避免这种情况?
【问题讨论】:
标签: python shell compilation wxpython pyinstaller
发件人:http://www.pyinstaller.org/export/v2.0/project/doc/Manual.html?format=raw#getting-started
-w, --windowed, --noconsol
使用窗口化子系统可执行文件,在 Windows 上启动程序时不会打开控制台。
【讨论】: