Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Class Error
#2
You need double underscores not single,
Change this def _init_ to this def __init__.
Reply


Messages In This Thread
Class Error - by OmarSinno - Sep-28-2017, 05:16 AM
RE: Class Error - by Mekire - Sep-28-2017, 05:49 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  error in class non_name092 1 2,047 Sep-02-2020, 05:42 PM
Last Post: bowlofred
  My class has name error message 357mag 3 2,507 Sep-04-2019, 03:29 PM
Last Post: snippsat
  Error Type: <class 'OSError'> And Error Type: <class 'ValueError'> runnerpaul 1 3,769 Jul-18-2017, 03:08 PM
Last Post: Larz60+

Forum Jump:

User Panel Messages

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