Python Print Error

Ian Kelly ian.g.kelly at gmail.com
Thu Jul 28 14:03:13 EDT 2016


On Thu, Jul 28, 2016 at 11:40 AM, Cai Gengyang <gengyangcai at gmail.com> wrote:
> How to debug this ?
>
>>>> print "This line will be printed."

This is Python 2 print statement syntax.

> SyntaxError: Missing parentheses in call to 'print'

This indicates that you're trying to run the above in Python 3.



More information about the Python-list mailing list