I keep getting an error that says
AttributeError: 'NoneType' object has no attribute 'something'
The code I have is too long to post here. What general scenarios would cause this AttributeError, what is NoneType supposed to mean and how can I narrow down what's going on?
printfunctions (or statements depending on the version) to reveal the actual values that variables actually have in the code that's having this problem. - S.Lottyourobject = somthing_that_is_Nonebefore callingyourobject.babyruth. Maybesomething_that_is_Noneis a function that returnNone. Without the code is impossible to know. - Rik PoggiNone. - g.d.d.c