problem with imort

polux polux2001 at wanadoo.fr
Mon Aug 26 03:59:09 CEST 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