import and package confusion
Arnaud Delobelle
arnodel at googlemail.com
Thu Apr 30 02:16:51 EDT 2009
Dale Amon <amon at vnl.com> writes:
> I do not really see any other way to do what I want. If
> there is a way to get rid of the exec in the sample code
> I have used, I would love to know... but I can't see how
> to import something where part of the name comes from user
> command line input without interpreting the code via exec.
__import__
--
Arnaud
More information about the Python-list
mailing list