0
Please who knows about python GUI tkinter
The code won't run on sololearn, but the problem is that whenever I click on the exit button , the systemexit error is being raised, what's the problem https://code.sololearn.com/c7PTCInseP8v/?ref=app
5 odpowiedzi
+ 2
it works fine for me, what error are you getting?
0
Exception has occurred: SystemExit
After trying to click the exit button
0
Isnt that exactly what you wanted? You click the exit button and the app closes right?
If root window is created in the class as well you can call
self.root.destroy
as the exit button command and it'll do the same thing.
unless that error code has any other information its doing what it should be
0
It does not close, it hangs and tell me it's not responding, then it displays that error