compiling module from string and put into namespace
Edward Elliott
nobody at 127.0.0.1
Fri May 12 19:33:08 EDT 2006
glomde wrote:
> Tanks but that isn't what I am looking for.
> I really want a function that you can call and imports
> the module into the calling functions namespace.
>
> I dont want the caller to call import but a function.
come again?
>>> type (__builtins__.__import__)
<type 'builtin_function_or_method'>
--
Edward Elliott
UC Berkeley School of Law (Boalt Hall)
complangpython at eddeye dot net
More information about the Python-list
mailing list