How do I pull the updated information from a tkinter form?

Peter Otten __peter__ at web.de
Mon Aug 31 03:56:09 EDT 2020


Steve wrote:

> OK, I was closer than I thought.
> 
> Two weeks ago, the concept of tkinter and these forms were totally new to
> me
> as well as, about  two days ago, python list was totally new too. I
> somehow thought that "window.mainloop()" was supposed to be the last entry
> in the function, silly me...
> I did not think of returning the list.

Note that what I showed is probably not the best option.

Usually you would add a button that allows the user to trigger the write 
operation.



More information about the Python-list mailing list