Michael Hoffman wrote: > Lonnie Princehouse wrote: > >> C:\>python -u >> Python 2.4.1 (#65, Mar 30 2005, 09:13:57) [MSC v.1310 32 bit (Intel)] >> on win32 >> Type "help", "copyright", "credits" or "license" for more information. >> >>>>> print 'hello' >> >> >> File "<stdin>", line 1 >> print 'hello' >> ^ >> SyntaxError: invalid syntax > > > Worksforme: > > C:\Python24>python.exe -u > Python 2.4.1 (#65, May 24 2005, 13:43:04) [MSC v.1310 32 bit (Intel)] on > win32 > Type "help", "copyright", "credits" or "license" for more information. > >>> print 'hello' > hello > > Strange that your python build is from 30 March and mine is from 24 May.
Problem also occurs on my machine using Win XP Home, Python 2.4.1 (#65, Mar 30 2005, 09:13:57) [MSC v.1310 32 bit (Intel)] on win32 even just typing "print" at the interactive prompt causes a syntax error... --Irmen -- http://mail.python.org/mailman/listinfo/python-list