On Sat, Aug 7, 2010 at 7:12 PM, Shurui Liu <shurui....@hotmail.com> wrote: > There is no tracebacks. > > I can run this program on putty.exe. That means the code is correct, but I > cannot run it on IDLE or PyScripter.exe. Both of these two platforms only > told me "Syntax Error" without tracebacks or something. >
We'll need to know python versions. The machine you're running it on through putty might have 2.x while your local machine has 3.x, that would cause a problem like this. Hugo _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor