Neat Trick for Loading Modules with unknown Name
Erik Max Francis
max at alcyone.com
Mon Mar 22 02:49:13 EST 2004
Brian Quinlan wrote:
> Do you really think that is easier than:
>
> usersmod = __import__(modname)
I figured he was doing a little leg-pulling.
--
__ Erik Max Francis && max at alcyone.com && http://www.alcyone.com/max/
/ \ San Jose, CA, USA && 37 20 N 121 53 W && &tSftDotIotE
\__/ Life is not a spectacle or a feast; it is a predicament.
-- George Santayana
More information about the Python-list
mailing list