471,337 Members | 1,177 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,337 software developers and data experts.

include myVar

Is there a way to import a module whose name is in a variable (read from
a configuration file for example)?

TIA
Sep 9 '07 #1
1 1069
Ricardo Aráoz wrote:
Is there a way to import a module whose name is in a variable (read from
a configuration file for example)?
pydoc __import__
Richard

Sep 9 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by RF Emmerink | last post: by
60 posts views Thread by Derrick Coetzee | last post: by
18 posts views Thread by Coder | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.