A
Amit Gupta
Hi
How do I get user defined attributes of a class? e.g
Class A(object) :
self.x = 1
------------------
I want something like:
for userattrib in A.getAllUserAttribute() :
print userattrib
My question is, is there a builtin function, called
getAllUserAttributes?
Thanks
How do I get user defined attributes of a class? e.g
Class A(object) :
self.x = 1
------------------
I want something like:
for userattrib in A.getAllUserAttribute() :
print userattrib
My question is, is there a builtin function, called
getAllUserAttributes?
Thanks