is there a nmore pythonic way ?

Shagshag shagshag13 at yahoo.fr
Fri Mar 14 11:26:36 CET 2003


really thanks to all, i didn't get that my first statements were
broken...

but my question was more about :

exec("from %s import %s" % (im, func))

and i wondered if there were better ways to do it and which was best
(using __import__ maybe ?)

thanks,

s13.




More information about the Python-list mailing list