I would like to know if this is possible/how it is possible.
I have a Python object class:
class myClass(object):
def __init__(self):
...do something
Then I create an instance of that object:
myObjectClass = myClass()
From within myClass
, is it possible to get the "name" of the variable (myObjectClass
) as a string?
Thanks, Adam