Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Peter Otten <__peter__@web.de> Newsgroups: comp.lang.python Subject: Re: Problem with 'print' Date: Sat, 09 Jan 2016 16:26:17 +0100 Organization: None Lines: 20 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Trace: news.uni-berlin.de 0q/o3J8H7VS5Y3V/2jcmYQxX1uWsPNhrJLSiRr2GR0Ig== 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; 'python,': 0.02; 'interpreter.': 0.07; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'python': 0.10; '2.7': 0.13; 'fun;': 0.16; 'parentheses': 0.16; 'received:80.91.229.3': 0.16; 'received:dip0.t-ipconnect.de': 0.16; 'received:io': 0.16; 'received:plane.gmane.org': 0.16; 'received:psf.io': 0.16; 'received:t-ipconnect.de': 0.16; 'subject:Problem': 0.16; 'wrote:': 0.16; '3.x': 0.22; 'downloaded': 0.24; 'examples': 0.24; 'header:User-Agent:1': 0.26; 'command': 0.26; 'installed': 0.26; 'header:X-Complaints-To:1': 0.26; 'error': 0.27; 'tutorial': 0.29; 'error.': 0.31; 'another': 0.32; 'file': 0.34; 'python.org': 0.35; 'but': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'received:org': 0.37; 'missing': 0.37; 'to:addr:python.org': 0.40; 'subject:with': 0.40; 'received:de': 0.40; 'hello,': 0.40; 'your': 0.60; 'school': 0.62; 'you.': 0.64; 'differences': 0.66; 'covers': 0.72; 'pablo': 0.84 X-Injected-Via-Gmane: http://gmane.org/ X-Gmane-NNTP-Posting-Host: p57bd9e26.dip0.t-ipconnect.de User-Agent: KNode/4.13.3 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com comp.lang.python:101406 pablo gormi wrote: > Hello, recently I downloaded python, but when I try to execute one file > with the command 'print' it shows me a error. The error is: > > Missing parentheses in call to 'print' > > Please help mThank you. You have downloaded Python 3 and are using Python 2 syntax. Learning Python 3 from a book or tutorial that uses Python 2 is no fun; I recommend that you use another book that covers Python 3. If the book is mandated by your school download Python 2.7 from python.org and work through the examples with that interpreter. Both Python 2.7 and 3.x can be installed in parallel on the same machine, and you can pick up the differences later.