开发者

Hide console from Python script? [duplicate]

开发者 https://www.devze.com 2023-03-26 13:00 出处:网络
This question already has answers here: Closed 11 years ago. 开发者_JAVA技巧 Possible Duplicate: How to hide console window in python?
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

精彩评论

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