[Tutor] python.py with no console

2011-03-18 Thread sihong lin
hi, Those days the idle couldn't open in windows 7. Today I found the type of file python.py(c:\Python27\lib\idlelib) is "no console". what is it means? that is why the idle couldn't open, right? thanks Sharon  ___ Tutor maillist - Tutor@

[Tutor] what is it mean--- File "", line 1

2011-03-20 Thread sihong lin
Hi,  I just write a simplest file test.py with only one line--print "hello", when I run it in command line: >>> python test.py the follow message comes out: File "" , line 1  python test SyntaxError: invalid syntax but, the file can run in shell, also in the command line, I put >>> print "h