New course! Every coder should learn Generative AI!
Try a free lesson0
tkinter in normal program?
how do you use open and close a tkinter window around normal code? I.e #code here #open window (normal code stops until window closes) #code here EDIT: I have used withdraw() to hide it
1 Answer
0
from tkinter import Tk, Label
simple = Tk()
Label(simple, text='hello')
# code here
simple.mainloop()
# code here