Calling every method of an object from __init__
cowie.rob at gmail.com
Mon Jun 19 21:55:53 CEST 2006
Is there a simple way to call every method of an object from its
For example, given the following class, what would I replace the
comment line in __init__() with to result in both methods being called?
I understand that I could just call each method by name but I'm looking
for a mechanism to avoid this.
#call all methods here
print 'The test method'
print 'Hello user'
More information about the Python-list