Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #112000

Re: Python Print Error

From Stephane Wirtel <stephane@wirtel.be>
Newsgroups comp.lang.python
Subject Re: Python Print Error
Date 2016-07-29 00:49 +0200
Message-ID <mailman.14.1469746161.6033.python-list@python.org> (permalink)
References <386ac508-c9ef-4b7e-907c-00005d04af0f@googlegroups.com> <20160728224918.73v65mduu2kdo4tu@sg1>

Show all headers | View raw


In fact, the issue is well defined, "Missing parentheses in call to 
'print'", in this case, you have to add the parentheses when you call 
'print'.

print("In Python3, you must to add the parentheses")




On 07/28, Cai Gengyang wrote:
>How to debug this ?
>
>>>> print "This line will be printed."
>SyntaxError: Missing parentheses in call to 'print'
>-- 
>https://mail.python.org/mailman/listinfo/python-list

-- 
Stéphane Wirtel - http://wirtel.be - @matrixise

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Python Print Error Cai Gengyang <gengyangcai@gmail.com> - 2016-07-28 10:40 -0700
  Re: Python Print Error Joel Goldstick <joel.goldstick@gmail.com> - 2016-07-28 14:00 -0400
  Re: Python Print Error Ian Kelly <ian.g.kelly@gmail.com> - 2016-07-28 12:03 -0600
  Re: Python Print Error Timothy <timothy@nospam.tld> - 2016-07-28 22:30 +0000
  Re: Python Print Error Stephane Wirtel <stephane@wirtel.be> - 2016-07-29 00:49 +0200

csiph-web