How to avoid global variables in a dynamically gen. tkinter form? Values inserted by functions won't save, hand typed values will after code change How to avoid global variables in a dynamically gen. tkinter form? Values inserted by functions won't save, hand typed values will after code change tkinter tkinter