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


Groups > comp.lang.python > #69764

Re: How can I parse this correctly?

References <CAJUMiQsoNbNzDgUOkaQxFLGptTqKriD7DcXSeFwwu_-v4TKJKQ@mail.gmail.com> <CAPTjJmqUv_CvcXOgD=reNybyTGNZDGbPaOTdszpJgEvY8bLqoQ@mail.gmail.com> <7E623349-4095-4550-9E2F-D7261C311DBE@gmail.com> <CAPTjJmo_ZRaiqwaJGwfamcktOc9GAmz=Dno82kW_=ZQgRYZ5_g@mail.gmail.com> <lhre0d$mmv$1@ger.gmane.org>
Date 2014-04-06 21:54 +1000
Subject Re: How can I parse this correctly?
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.8950.1396785265.18130.python-list@python.org> (permalink)

Show all headers | View raw


On Sun, Apr 6, 2014 at 9:32 PM, Mark Lawrence <breamoreboy@yahoo.co.uk> wrote:
> I'd recommend using this import statement in Python 2 so you get used to
> print being a function.
>
> from __future__ import print_function

Or better still, just write Python 3 code - then you get to take
advantage of all the fancy new features :)

ChrisA

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


Thread

Re: How can I parse this correctly? Chris Angelico <rosuav@gmail.com> - 2014-04-06 21:54 +1000

csiph-web