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
  how to get qualified objects in a list Azdaghost 5 663 Apr-22-2025, 06:03 PM
Last Post: Azdaghost
  type object 'man' has no attribute 'centerX' Tempo 7 982 Mar-07-2025, 03:47 AM
Last Post: deanhystad
  how to capitalize letter in list object Python iwonkawa 4 1,377 May-29-2024, 04:29 PM
Last Post: DeaD_EyE
  Printing out incidence values for Class Object SquderDragon 3 1,324 Apr-01-2024, 07:52 AM
Last Post: SquderDragon
  AttributeError: 'NoneType' re.search philnyland 1 1,021 Jan-20-2024, 03:24 AM
Last Post: deanhystad
  error in class: TypeError: 'str' object is not callable akbarza 2 1,863 Dec-30-2023, 04:35 PM
Last Post: deanhystad
Bug TypeError: 'NoneType' object is not subscriptable TheLummen 4 3,834 Nov-27-2023, 11:34 AM
Last Post: TheLummen
  How to read module/class from list of strings? popular_dog 1 1,373 Oct-04-2023, 03:08 PM
Last Post: deanhystad
  getpass.getpass() results in AttributeError: module 'os' has no attribute 'O_NOCTTY' EarthAndMoon 4 2,920 Oct-03-2023, 02:00 PM
Last Post: deanhystad
  TypeError: 'NoneType' object is not callable akbarza 4 14,789 Aug-24-2023, 05:14 PM
Last Post: snippsat

Forum Jump:

User Panel Messages

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