User Profile
Collapse
-
Thanks very much, it works. I search further with this pyw and found that it works because it will use pythonw to run the program instead of python.... -
How to hide the prompt windows when running a simple tkinter gui program?
In windows, if I make a very simple tkinter program like:
from Tkinter import *
root = Tk()
label = Label(root,text ="hello")
label.pack()
root.mainloop()
There will be a window showing the "hello" label, and another windows that looks like a dos prompt behind it. Is it possible to get rid of this prompt like window?
No activity results to display
Show More
Leave a comment: