Python Forum
accessing local variable outside class
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
accessing local variable outside class
#4
Please, don't start new threads unnecessarily. I deleted the second one you created and merged the third one into the original thread. I think my answer to your original post address the issue. If you have further questions, post in this thread.
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: accessing local variable outside class - by buran - Sep-24-2019, 10:00 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  It's saying my global variable is a local variable Radical 5 1,152 Oct-02-2023, 12:57 AM
Last Post: deanhystad
  Variable Types in a class nafshar 9 2,448 Oct-07-2022, 07:13 PM
Last Post: deanhystad
  can Inner Class reference the Outer Class's static variable? raykuan 6 5,879 Jul-01-2022, 06:34 AM
Last Post: SharonDutton
  accessing value in dict_values class CompleteNewb 14 5,133 Mar-31-2022, 04:02 AM
Last Post: deanhystad
  UnboundLocalError: local variable 'wmi' referenced before assignment ilknurg 2 1,906 Feb-10-2022, 07:36 PM
Last Post: deanhystad
  Calling a base class variable from an inherited class CompleteNewb 3 1,676 Jan-20-2022, 04:50 AM
Last Post: CompleteNewb
  Can we access instance variable of parent class in child class using inheritance akdube 3 13,973 Nov-13-2020, 03:43 AM
Last Post: SalsaBeanDip
  Class variable / instance variable ifigazsi 9 4,296 Jul-28-2020, 11:40 AM
Last Post: buran
  Assignment of non-existing class variable is accepted - Why? DrZ 6 4,262 Jul-13-2020, 03:53 PM
Last Post: deanhystad
  Limiting valid values for a variable in a class WJSwan 5 3,597 Jul-06-2020, 07:17 AM
Last Post: Gribouillis

Forum Jump:

User Panel Messages

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