glomde a écrit : > 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.
Please read the documentation of the __import__() *function*. (notice the double leading and ending underscores and the parenthesis). > I dont want the caller to call import but a function. Please read the documentation of the __import__() *function*. (notice the double leading and ending underscores and the parenthesis). -- http://mail.python.org/mailman/listinfo/python-list