On Mon, Jun 27, 2011 at 6:05 PM, Amaninder Singh <[email protected]> wrote: >>>> print "this is a test" > SyntaxError: invalid syntax
Most likely, you are running python 3.x, while reading python 2.x book.
In python 3.x print is now ordinary function,
>>> print('hello world')
hello world
In future, please include full tracebacks and python version info.
--
With best regards,
Daniel Kluev
--
http://mail.python.org/mailman/listinfo/python-list
