【问题标题】:How to avoid the black shell window after compiling my script with pyinstaller [duplicate]使用pyinstaller编译我的脚本后如何避免黑壳窗口[重复]
【发布时间】:2013-01-24 20:31:23
【问题描述】:

我正在使用 wxpython 开发 GUI,并使用 pyinstaller 编译它。一切正常,但在程序实际午餐之前总是会弹出一个黑色外壳窗口。 (就像你使用 python 而不是 pythonw 来运行脚本)

我的问题是,如何避免这种情况?

【问题讨论】:

    标签: python shell compilation wxpython pyinstaller


    【解决方案1】:

    发件人:http://www.pyinstaller.org/export/v2.0/project/doc/Manual.html?format=raw#getting-started

    -w, --windowed, --noconsol
    使用窗口化子系统可执行文件,在 Windows 上启动程序时不会打开控制台。

    【讨论】:

      猜你喜欢
      • 2019-09-08
      • 1970-01-01
      • 2014-01-14
      • 1970-01-01
      • 2013-07-27
      • 1970-01-01
      • 2017-08-16
      • 1970-01-01
      • 2014-07-11
      相关资源
      最近更新 更多