Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
object takes no parameters
#2
__init__() is with 2 underscores on both sides. You have 3 underscores on each side ___init___().
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply


Messages In This Thread
object takes no parameters - by amalia_jane - Feb-04-2019, 07:43 PM
RE: object takes no parameters - by buran - Feb-04-2019, 07:50 PM
RE: object takes no parameters - by amalia_jane - Feb-04-2019, 07:52 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  declaring object parameters with type JonWayn 2 942 Dec-13-2022, 07:46 PM
Last Post: JonWayn
  Python Class and Object Parameters JoeDainton123 5 2,933 Sep-02-2020, 10:43 AM
Last Post: JoeDainton123

Forum Jump:

User Panel Messages

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