is there a nmore pythonic way ?

Jeff Epler jepler at unpythonic.net
Tue Mar 11 16:23:41 CET 2003


You could use __import__ and getattr() instead of exec().

I don't know if one is any better than the other.





More information about the Python-list mailing list