tkinter in normal program? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

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

22nd Jun 2018, 6:29 AM
error505
1 Answer
0
from tkinter import Tk, Label simple = Tk() Label(simple, text='hello') # code here simple.mainloop() # code here
22nd Jun 2018, 8:39 AM
Qwertiony
Qwertiony - avatar