from (some module) import *

Mike Fletcher mcfletch at vrtelecom.com
Thu Oct 28 02:47:26 EDT 1999


http://www.python.org/doc/current/lib/built-in-funcs.html#built-in-funcs

See __import__ at the top of the page.  Is available in all "normal"
situations.

Hope that helps, (incidentally, for some reason my first email to you
bounced, hope this gets through),
Mike

-----Original Message-----
From: python-list-admin at python.org
[mailto:python-list-admin at python.org]On Behalf Of Ed
Sent: October 27, 1999 12:49 PM
To: python-list at python.org
Subject: from (some module) import *
...
I want to prompt for a module name, then import it.  How do I make the
module name in the "from" or "import" operators a variable?  I was
trying
...





More information about the Python-list mailing list