Getting rid of console output when freezing Python programs using Pyinstaller

前端 未结 4 771
天命终不由人
天命终不由人 2020-11-27 14:03

I have recently written a fairly simple program for my grandfather using Python with GUI from Tkinter, and it works beautifully for what he will be using it for. However, th

4条回答
  •  难免孤独
    2020-11-27 14:23

    If you want to hide the console window, here is the documentation: This is how you use the --noconsole option

    python pyinstaller.py --noconsole yourscript.py
    

    If you need help using pyinstaller to get to the point where you need to use the --noconsole option here is a simple tutorial for getting there.

提交回复
热议问题