Need to import stuff

abhijeet thatte abhijeet.thatte at gmail.com
Wed Aug 18 00:21:38 CEST 2010


Hi,

I need to import few files depending on the user input. For eg if user gives
an input as "abcd" then I will have * import "abcd.py".*
Can not have any hard coding in the code. Does any one know how to solve the
problem.

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20100817/b2aea002/attachment.html>


More information about the Python-list mailing list