Hide console window with Tkinter and cx_Freeze

后端 未结 7 1665
南方客
南方客 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:31

    For me using the option --base-name Win32GUI works. Here is an example:

    cxfreeze your_python_file.py --base-name Win32GUI --target-dir your_target_dir

提交回复
热议问题