简体   繁体   English

使用tkinter窗口时隐藏python shell

[英]Hide python shell while using tkinter window

Is there any way to hide python shell while using a tkinter window or turtle window? 使用tkinter窗口或turtle窗口时,有什么方法可以隐藏python shell? While opening py file by clicking the py shell shows every time but I don't need it. 通过单击py shell打开py文件时,每次都会显示一次,但我不需要它。

Start your Python program using pythonw.exe instead of python.exe . 使用pythonw.exe而不是python.exe启动Python程序。 This is specifically designed for this. 为此专门设计的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM