简体   繁体   English

如何在不打开终端的情况下运行Tkinter程序

[英]How to run a Tkinter program without opening a terminal

When I run my Tkinter application, a command line/terminal opens. 当我运行Tkinter应用程序时,将打开命令行/终端。 How can I run my application without it invoking a command line/terminal session? 如何在不调用命令行/终端会话的情况下运行我的应用程序?

用“ .pyw”扩展名而不是“ .py”保存文件。

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

相关问题 如何运行Python 3 tkinter应用程序而无需在Mac OS X中打开任何终端窗口? - How to run a Python 3 tkinter app without opening any Terminal windows in Mac OS X? 如何在不使用 tkinter 打开控制台 window 的情况下运行 Python 脚本? - How to make a Python script run without it opening the console window with tkinter? 如何在没有终端的情况下运行Python - How to Run Python without a Terminal 如何在没有终端的Windows中运行py2exe程序? - How can I run a py2exe program in windows without the terminal? 如何在未安装Python的计算机上运行使用Tkinter的Python 3.5程序? - How do I run a Python 3.5 program that uses Tkinter on a computer without Python installed? 如何在启动时运行python程序(包含tkinter) - How to run a python program(containing tkinter) on startup Python 程序似乎永远运行而不在终端中输出 - Python program seems to run forever without outputting in terminal 在没有终端的情况下打开kivy小部件? - Opening kivy widgets without the terminal? Mac上的Pyinstaller:如何在不先打开终端的情况下打开应用程序? - Pyinstaller on Mac: How to open app without opening terminal first? 如何在没有 python 控制台的情况下运行 tkinter 应用程序 - How to run a tkinter application without python console
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM