Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Stephane Wirtel Newsgroups: comp.lang.python Subject: Re: Python Print Error Date: Fri, 29 Jul 2016 00:49:18 +0200 Lines: 19 Message-ID: References: <386ac508-c9ef-4b7e-907c-00005d04af0f@googlegroups.com> <20160728224918.73v65mduu2kdo4tu@sg1> Reply-To: stephane@wirtel.be Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: news.uni-berlin.de w4wJjec73sJLhjdZMOjuQg7XtQQnmc/H9UvjUl4+lpoA== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'debug': 0.04; 'subject:Python': 0.05; 'subject:Error': 0.07; 'cc:addr:python- list': 0.09; 'defined,': 0.09; '"this': 0.13; '"missing': 0.16; '@matrixise': 0.16; 'from:addr:stephane': 0.16; 'from:addr:wirtel.be': 0.16; 'parentheses': 0.16; 'received:io': 0.16; 'received:mx1.wirtel.be': 0.16; 'received:psf.io': 0.16; 'received:wirtel.be': 0.16; 'st\xc3\xa9phane': 0.16; 'subject:Print': 0.16; 'url:wirtel': 0.16; 'wirtel': 0.16; 'wrote:': 0.16; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'cc:no real name:2**0': 0.22; 'header:In-Reply-To:1': 0.24; 'header:User-Agent:1': 0.26; 'print': 0.30; 'url:mailman': 0.30; 'received:be': 0.30; 'url:python': 0.33; 'url:listinfo': 0.34; 'case,': 0.34; 'add': 0.34; 'skip:> 10': 0.35; 'url:org': 0.36; 'subject:: ': 0.37; 'missing': 0.37; 'url:mail': 0.40; 'fact,': 0.67; 'header:Reply-To:1': 0.67; 'reply-to:no real name:2**0': 0.71; '>how': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wirtel.be; s=default; t=1469746431; bh=d2psfRk9Hvjl8jYslUJ7fD2aaYygD+aUbcaVGMkJ36g=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To; b=da3Sz3iP/f3YZyaM/u6NlC15zTg2Z2ptiYDf8LSZu6xyK1ljLCdtiq2FismEb0SNg aD//IJWqXZ1xQ2BKxQtN81YcsVJVBKGcmZCRrNUGRRtsmr8ldrzJTjhaRkRVYMouNw XdFJMIOAvVnlEAe3K1CaU1GPLCNZ3lmc7PijFOl3I59lHhaVFcy9DtbdxtKLLtK6a2 VqhEIur6juoKXR/eXPlTx8YKXMZ4tTnUi81d/Nfp8pBZMIndaMsNmr18z68O9sa8Nv JTM7DHIAEDi5RDXD1c6Ul7JIXqjjzfcmRbRH1ZFBkvEgiKgVH/l5yqphzt8nxHG1e9 HZEuq2NpvgnzA== Content-Disposition: inline In-Reply-To: <386ac508-c9ef-4b7e-907c-00005d04af0f@googlegroups.com> User-Agent: Mutt/1.6.0.1 (2016-04-01) X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: <20160728224918.73v65mduu2kdo4tu@sg1> X-Mailman-Original-References: <386ac508-c9ef-4b7e-907c-00005d04af0f@googlegroups.com> Xref: csiph.com comp.lang.python:112000 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