Issues With Tk In Ipython/jupyter
I am trying to write a gui for launching from an ipython/jupyter notebook but am running into trouble using tkinter from the notebook, especially in getting the tk gui window to cl
Solution 1:
I am also facing the issue. I'm currently implementing a workaround for this.
Since the root.destroy()
command doesn't stop the code of the tkinter kernal, I've used the root.quit()
command. If you use root.quit
, the kernel will finish with the code and you can execute the code in the next kernels and in this way, you can just let the dialog box load and stay there while you run the lines that follow. By the end I just used quit(0)
to quit the whole thing entirely once my code has done what it was supposed to do.
Post a Comment for "Issues With Tk In Ipython/jupyter"