problem with imort

polux polux2001 at wanadoo.fr
Sun Aug 25 21:59:09 EDT 2002


I wrote :

module=math
 >>> import module
Traceback (most recent call last):
   File "<pyshell#8>", line 1, in ?
     import module
ImportError: No module named module


How to do to give the function import a variable ?




More information about the Python-list mailing list