cx_Freeze exe file opens for a second then closes

左心房为你撑大大i 提交于 2019-12-10 11:44:48

问题


Whenever I try to open the .exe file, a black screen opens and flickers for a second then closes. No error shows up at all.

Here's my setup.py file:

import sys
from cx_Freeze import setup, Executable

setup(
    name = "Robot Game",
    version = "1.1",
    executables = [Executable("Robot Game.py", base = "Win32GUI")])

来源:https://stackoverflow.com/questions/23000282/cx-freeze-exe-file-opens-for-a-second-then-closes

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!