Re: AttributeError: 'NoneType' object has no attribute 'get'

2022-01-06 Thread Chris Angelico
On Fri, Jan 7, 2022 at 8:47 AM <2qdxy4rzwzuui...@potatochowder.com> wrote: > > On 2022-01-06 at 14:21:48 -0700, > Mats Wichmann wrote: > > > And at a more meta level: many functions in the Python world return > > None as an indication that the operation did not succeed. It's useful > > because i

Re: AttributeError: 'NoneType' object has no attribute 'get'

2022-01-06 Thread 2QdxY4RzWzUUiLuE
On 2022-01-06 at 14:21:48 -0700, Mats Wichmann wrote: > And at a more meta level: many functions in the Python world return > None as an indication that the operation did not succeed. It's useful > because in many circumstances None is an "out of band" value - one > that could not happen natura

Re: AttributeError: 'NoneType' object has no attribute 'get'

2022-01-06 Thread Mats Wichmann
On 1/6/22 11:02, Kushal Kumaran wrote: > On Tue, Jan 04 2022 at 11:34:20 PM, NArshad wrote: >> How to correct what is written below: >> >> Exception in Tkinter callback >> Traceback (most recent call last): >> File "C:\Users\Dani Brothers\Anaconda3\lib\tkinter\__init__.py", line >> 1705, in __c

Re: AttributeError: 'NoneType' object has no attribute 'get'

2022-01-06 Thread Kushal Kumaran
On Tue, Jan 04 2022 at 11:34:20 PM, NArshad wrote: > How to correct what is written below: > > Exception in Tkinter callback > Traceback (most recent call last): > File "C:\Users\Dani Brothers\Anaconda3\lib\tkinter\__init__.py", line 1705, > in __call__ > return self.func(*args) > File "D