Re: tkinter and input()

2020-09-29 Thread Terry Reedy
On 9/29/2020 9:48 AM, Pierre Bonville wrote: I have a small problem with the method .quit() of tkinter. What problem? It works for me (3.9 on Win 10). >>> import tkinter as tk >>> r = tk.Tk() >>> b = tk.Button(r, text= r.quit) >>> b = tk.Button(r, text='quit', command=r.quit) >>> b.pack() >>>

tkinter and input()

2020-09-29 Thread Pierre Bonville
Hello everybody, I have a small problem with the method .quit() of tkinter. Below is a sketch of a much larger program, which shows the problem. I would like to run the main program but keeping the tk window on the screen until the end. Presently, execution stops after the first "plot" instruction