Python Forum
AttributeError: 'NoneType' object has no attribute 'n' in list of class objects
Thread Rating:
  • 1 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
AttributeError: 'NoneType' object has no attribute 'n' in list of class objects
#4
You have an "extra" tab at the 56 line.
Align the "def check_mouse(self):" like "def check_num(self):"
And the other functions too.
Reply


Messages In This Thread
RE: AttributeError: 'NoneType' object has no attribute 'n' in list of class objects - by gontajones - Jun-19-2018, 11:49 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Printing out incidence values for Class Object SquderDragon 3 382 Apr-01-2024, 07:52 AM
Last Post: SquderDragon
  AttributeError: 'NoneType' re.search philnyland 1 348 Jan-20-2024, 03:24 AM
Last Post: deanhystad
  error in class: TypeError: 'str' object is not callable akbarza 2 607 Dec-30-2023, 04:35 PM
Last Post: deanhystad
Bug TypeError: 'NoneType' object is not subscriptable TheLummen 4 831 Nov-27-2023, 11:34 AM
Last Post: TheLummen
  How to read module/class from list of strings? popular_dog 1 539 Oct-04-2023, 03:08 PM
Last Post: deanhystad
  getpass.getpass() results in AttributeError: module 'os' has no attribute 'O_NOCTTY' EarthAndMoon 4 854 Oct-03-2023, 02:00 PM
Last Post: deanhystad
  TypeError: 'NoneType' object is not callable akbarza 4 1,149 Aug-24-2023, 05:14 PM
Last Post: snippsat
  How can I access objects or widgets from one class in another class? Konstantin23 3 1,108 Aug-05-2023, 08:13 PM
Last Post: Konstantin23
  AttributeError: '_tkinter.tkapp' object has no attribute 'username' Konstantin23 4 1,901 Aug-04-2023, 12:41 PM
Last Post: Konstantin23
  Python: Regex is not good for re.search (AttributeError: 'NoneType' object has no att Melcu54 9 1,655 Jun-28-2023, 11:13 AM
Last Post: Melcu54

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020