Python Print Error

Timothy timothy at nospam.tld
Thu Jul 28 18:30:37 EDT 2016


On Thu, 28 Jul 2016 10:40:28 -0700, Cai Gengyang wrote:
> How to debug this ?
> 
>>>> print "This line will be printed."
> SyntaxError: Missing parentheses in call to 'print'

You are probably using Python 3, while the syntax is for Python 2.
Use print("This line will be printed.") instead.



More information about the Python-list mailing list