Why am I getting AttributeError: Object has no attribute?

Your indentation is goofed, and you’ve mixed tabs and spaces. Run the script with python -tt to verify.

Leave a Comment