Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
NameError
#3
(Oct-18-2022, 01:45 PM)Gribouillis Wrote: Instead of combo(), call self.combo(). Also you can just write class Solution: It is implicit that object is a parent class.

Thank you Griboullis. Adding "self" worked, but puzzling why I get this NameError unless there is another "combo" in python, and I was not able to find it.
Reply


Messages In This Thread
NameError - by nafshar - Oct-18-2022, 01:24 PM
RE: NameError - by Gribouillis - Oct-18-2022, 01:45 PM
RE: NameError - by nafshar - Oct-18-2022, 01:50 PM
RE: NameError - by deanhystad - Oct-18-2022, 02:13 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  NameError: NameError: global name 'BPLInstruction' is not defined colt 7 4,579 Oct-27-2019, 07:49 AM
Last Post: Larz60+

Forum Jump:

User Panel Messages

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