Python Forum
Object Oriented programming (OOP) problem
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Object Oriented programming (OOP) problem
#5
(May-31-2021, 12:56 PM)jefsummers Wrote: Your arbitrary class is named Object1, whereas D is declared to be of class Object. Add a 1.

Also that is way too close to a Python reserved word. Suggest using something like my_object so a typo like happened here is easier to pick up.

Thank you
Reply


Messages In This Thread
RE: Object Oriented programming (OOP) problem - by OmegaRed94 - May-31-2021, 07:17 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Can someone help me solve this programming problem? SuchUmami 6 1,096 Nov-20-2023, 10:01 AM
Last Post: EdwardMatthew
Question Linear Programming Problem Axel_LF 0 794 Feb-23-2023, 11:03 PM
Last Post: Axel_LF
  python 3 raspberry pi 4 dual control motor programming problem yome 0 2,076 Mar-21-2021, 05:17 PM
Last Post: yome
  Basic programming problem darek88 1 2,088 Sep-30-2019, 01:13 PM
Last Post: ichabod801
  Please help! Problem with my Point object itrema 2 5,372 Mar-05-2019, 09:57 AM
Last Post: itrema
  Object Oriented Programming jackbk 8 4,652 Aug-24-2018, 01:13 PM
Last Post: Windspar
  Object Oriented DB Interactions datasundae 2 2,463 May-25-2018, 09:51 PM
Last Post: datasundae
  Oriented Object ldthan 1 2,514 Mar-27-2018, 11:26 AM
Last Post: Larz60+
  problem with "hiding" object league55 4 3,378 Jan-16-2018, 11:21 PM
Last Post: league55

Forum Jump:

User Panel Messages

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