Say I have a simple code like:
from Tkinter import * root = Tk() app = Toplevel(root) app.mainloop()
This opens two windows: the Toplevel(root) window Toplevel(root) and the Tk() window Tk() .
Is it possible to open the Tk() ( root ) window from opening? If so, how? I only need pudding. I want this to happen because I am creating a program that will open several windows, all Toplevel root .
Thanks!
source share