Feb-04-2021, 06:45 PM
You cannot call Tk() twice. If you need two windows use TopLevel() to make the second window. Tk() doesn't just make a window, it also does a bunch of initialization that is only supposed to happen once.
"tkinter.TclError: NULL main window"
|
|
Messages In This Thread |
"tkinter.TclError: NULL main window" - by Rama02 - Feb-04-2021, 05:44 PM
RE: "tkinter.TclError: NULL main window" - by deanhystad - Feb-04-2021, 06:45 PM
|