Hide console from Python script? [duplicate]
Possible Duplicate:
How to hide console window in python?
I have a simple script with one messagedialog only...
how can I hide the console from it when I execute the app?
Execute the script using pythonw.exe
rather than python.exe
. You can set that up to happen automatically by giving the script the extension .pyw
rather than .py
.
精彩评论