Can string be callable as a method ?
Jia Lu
Roka100 at gmail.com
Mon May 28 09:45:47 EDT 2007
Hi all
I tried to scan a directory and __import__ all modules ,
<log>
imported module: help
imported module: __init__
imported module: hi
imported module: thanks
and I scaned all methods in them, and put them to a list like:
[['f_chelp', 'f_help'], [], ['f_exclaim', 'f_hi', 'random'],
['f_thanks', 'random']]
But how can I call them from that list??
Thank you.
Jia Lu
More information about the Python-list
mailing list