Python Forum
Scope of variable when using two classes
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Scope of variable when using two classes
#3
Thank you woooee! Your code works correctly and I particularly like your idea of calling (is that the right word?)instances of the second class from within the initialisation of the first; I would never have thought of that.
Reply


Messages In This Thread
Scope of variable when using two classes - by AyJay - Jan-22-2020, 09:08 AM
RE: Scope of variable when using two classes - by AyJay - Jan-23-2020, 10:09 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Tkinter object scope riversr54 6 1,982 Feb-17-2023, 05:40 AM
Last Post: deanhystad
  Key Binding scope angus1964 1 1,213 Jun-30-2022, 08:17 PM
Last Post: deanhystad
  How can import variable beteen classes in same module johnjh 1 1,954 Apr-19-2020, 09:41 PM
Last Post: deanhystad
  How to share a variable between two Python classes? robin1992 2 3,327 Nov-27-2019, 09:42 AM
Last Post: robin1992

Forum Jump:

User Panel Messages

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