Re: python object is NoneType even after declaring as global: ttk textbox

2020-06-15 Thread Peter Otten
emagnun wrote: > I have a very simple script that retrieves the value from a text box upon > click of a checkButton. But in click event, I'm receiving text box object > as NoneType even after setting it as global. Pls help. > > Output: !!ERROR!! Tag is None > > ### Source Code ##

python object is NoneType even after declaring as global: ttk textbox

2020-06-15 Thread emagnun
I have a very simple script that retrieves the value from a text box upon click of a checkButton. But in click event, I'm receiving text box object as NoneType even after setting it as global. Pls help. Output: !!ERROR!! Tag is None ### Source Code ### from tkinter import * from