Le lundi 28 août 2006 22:15, Christian Convey a écrit :
> I've looked at using imp.load_source() or imp.load_module(), but it looks
> to me like all of these polute the global namespace with the names of the
> modules I'm importing.
Really ? They don't. (there are some quirks in my little function
Anyone know how to do this?:I want a way to dynamically import modules (module names not known until runtime). I want to end up with a handle to the resulting module object, without having poluted my global module namespace in the process.
Basically I want to something like this:def call_all_user