Skip to content Skip to sidebar Skip to footer

How To Hide Windows Console With Python Tkinter?

I tried renaming my .py file to .pyw. But compiling with py2exe does not make a difference. I tried using root.withdraw() but all it does is freeze the application, prevent the ini

Solution 1:

I ended up finding the solution on http://ubuntuforums.org/showthread.php?t=728170

In short, the solution is to change the line setup(console=["yourapp.py"]) to setup(windows=["yourapp.py"]), otherwise, it is the same code as the rest of the py2exe tutorial.


Post a Comment for "How To Hide Windows Console With Python Tkinter?"