iteration over methods

Oliver Vecernik vecernik at aon.at
Tue Jan 7 12:24:16 CET 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