开发者

Hide console from Python script? [duplicate]

This question already has answers here: Closed 11 years ago. 开发者_JAVA技巧

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜