Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
variables in a class
#4
what i have been doing is importing or inserting that adict class and defining a few instances of it, as needed. then functions and methods can use it as a global or use one passed to it as an argument or keyword argument. side effects galore!
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply


Messages In This Thread
variables in a class - by Skaperen - Oct-30-2019, 07:48 AM
RE: variables in a class - by Larz60+ - Oct-30-2019, 08:24 AM
RE: variables in a class - by Skaperen - Oct-30-2019, 11:59 PM
RE: variables in a class - by Skaperen - Oct-31-2019, 01:05 AM

Forum Jump:

User Panel Messages

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