how to remove black terminal while running my my executable file in tkinter for python? [duplicate]

一个人想着一个人 提交于 2019-12-14 02:21:44

问题


I Have made small program from tkinter python. while i run this executable program i see black screen in background. i have attached images in this link (https://drive.google.com/folderview?id=0B77Z7Ug9rVFFfmlpMXRfbTlUR1ZuQjVNbV9VWmMtZUk2amhrMHYxRWprSnJGdGh1TVdNbVU&usp=sharing)

I want to remove this black screen because i want to pack this program to .exe format without this black screen.

Waiting for proper answer.


回答1:


You should save your script with .pyw extension.



来源:https://stackoverflow.com/questions/31501769/how-to-remove-black-terminal-while-running-my-my-executable-file-in-tkinter-for

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!