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


Groups > comp.lang.python > #69765

Re: How can I parse this correctly?

From Mark Lawrence <breamoreboy@yahoo.co.uk>
Subject Re: How can I parse this correctly?
Date 2014-04-06 13:42 +0100
References (1 earlier) <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> <CAPTjJmpsig_eopn+9sNm0Xkzr=awfheEEJfOhY2n=kkGEAW_VQ@mail.gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.8951.1396788175.18130.python-list@python.org> (permalink)

Show all headers | View raw


On 06/04/2014 12:54, Chris Angelico wrote:
> 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
>

I meant to say, "If you're stuck with Python 2 ..." :(

-- 
My fellow Pythonistas, ask not what our language can do for you, ask 
what you can do for our language.

Mark Lawrence

---
This email is free from viruses and malware because avast! Antivirus protection is active.
http://www.avast.com

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


Thread

Re: How can I parse this correctly? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-04-06 13:42 +0100

csiph-web