Hello,

I was wondering if there is a way to import modules
using the input() command. If i try to do it directly
it gives me an error:

>>> input()
import time

Traceback (most recent call last):
  File "<pyshell#168>", line 1, in <module>
    input()
  File "<string>", line 1
    import time
         ^
SyntaxError: invalid syntax
>>> 


Is there another way in which i can import modules
with the input() command?





      
____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to