First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
1 | initial version |
Seems that your wxpython program did not actually quit the main-loop at the first time even you close the window.
Since you have:
app.MainLoop()
I am not familiar with wxpython. But I think you should add some code to let your program leave the main loop at the 'close button' function.