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


Groups > comp.lang.python > #27828

Re: help with simple print statement!

Subject Re: help with simple print statement!
From Rob Day <rkd@rkd.me.uk>
Date 2012-08-24 20:54 +0100
References <CAFg9KJs4hPJ7zjydY45U8S6b5ndo2ox4qtYN6JWuwytt63z3hA@mail.gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.3772.1345838071.4697.python-list@python.org> (permalink)

Show all headers | View raw


On Fri, 2012-08-24 at 12:43 -0700, Willem Krayenhoff wrote:
> Any idea why print isn't working here?  

You're using Python 3.2, but trying Python 2.7 syntax -
http://docs.python.org/release/3.0.1/whatsnew/3.0.html#print-is-a-function should explain the problem adequately.

(Incidentally - you can copy from the Windows console by right-clicking
and selecting "Mark". It's a little easier than taking a screenshot!)

Rob



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


Thread

Re: help with simple print statement! Rob Day <rkd@rkd.me.uk> - 2012-08-24 20:54 +0100

csiph-web