Hide console window with Tkinter and cx_Freeze

后端 未结 7 1669
南方客
南方客 2020-12-03 03:52

I am using cx_freeze to freeze a tkinter app. When I run the exe I get a wonderfully USELESS console window along with my tkinter GUI.

I would like to remove

7条回答
  •  旧巷少年郎
    2020-12-03 04:43

    I'm assuming by "black window" you are referring to the terminal window. In order to disable this from popping up, save your file as a .pyw extension instead of .py

提交回复
热议问题