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


Groups > comp.lang.python > #101406 > unrolled thread

Re: Problem with 'print'

Started byPeter Otten <__peter__@web.de>
First post2016-01-09 16:26 +0100
Last post2016-01-09 16:26 +0100
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Problem with 'print' Peter Otten <__peter__@web.de> - 2016-01-09 16:26 +0100

#101406 — Re: Problem with 'print'

FromPeter Otten <__peter__@web.de>
Date2016-01-09 16:26 +0100
SubjectRe: Problem with 'print'
Message-ID<mailman.94.1452353189.2305.python-list@python.org>
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.

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web