Python Forum
Name 'function' not defined, although it is...
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Name 'function' not defined, although it is...
#2
Indentation of lines 69 and next is wrong. They should not be part if the class. Dedent by one level
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
RE: Name 'function' not defined, although it is... - by buran - Jun-23-2020, 12:38 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Variable is not defined error when trying to use my custom function code fnafgamer239 4 618 Nov-23-2023, 02:53 PM
Last Post: rob101
  Printing the variable from defined function jws 7 1,381 Sep-03-2023, 03:22 PM
Last Post: deanhystad
  Getting NameError for a function that is defined JonWayn 2 1,134 Dec-11-2022, 01:53 PM
Last Post: JonWayn
Question Help with function - encryption - messages - NameError: name 'message' is not defined MrKnd94 4 2,943 Nov-11-2022, 09:03 PM
Last Post: deanhystad
  How to print the output of a defined function bshoushtarian 4 1,334 Sep-08-2022, 01:44 PM
Last Post: deanhystad
  User-defined function to reset variables? Mark17 3 1,682 May-25-2022, 07:22 PM
Last Post: Gribouillis
Sad Function defined by branches antoniogalante 1 1,885 Dec-16-2020, 11:35 PM
Last Post: deanhystad
  function call at defined system time? Holon 5 3,258 Oct-06-2020, 03:58 PM
Last Post: snippsat
  Function will not return variable that I think is defined Oldman45 6 3,570 Aug-18-2020, 08:50 PM
Last Post: deanhystad
  How do I find if a function has been defined? AndyHolyer 3 2,291 Jul-24-2020, 01:39 PM
Last Post: Gribouillis

Forum Jump:

User Panel Messages

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