K
Kless
How to access from a class variable to one that is initialized on the
constructor?
--------------
class Foo():
foo = bar # I want to access *from here* to variables created on
the constructor.
def __init__(self, bar_init):
self.bar = bar_init
constructor?
--------------
class Foo():
foo = bar # I want to access *from here* to variables created on
the constructor.
def __init__(self, bar_init):
self.bar = bar_init