iteration over methods

Oliver Vecernik vecernik at aon.at
Tue Jan 7 06:24:16 EST 2003


Oliver Vecernik schrieb:
> [...]
 >
>     def runallmethods(self):
>         for func in dir(self):
>             if func[0:4] == 'method':
                         ^ should be 6, of course, but doesn't work anyway!





More information about the Python-list mailing list