Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!us.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.de!newsfeed.pionier.net.pl!feed.xsnews.nl!border03.ams.xsnews.nl!feeder04.ams.xsnews.nl!abp001.ams.xsnews.nl!frontend-F10-12.ams.news.kpn.nl From: Cecil Westerhof Newsgroups: comp.lang.python Subject: Re: l = range(int(1E9)) Organization: Decebal Computing References: <87k2wtvbx1.fsf@Equus.decebal.nl> <87mw1ptpr0.fsf@Equus.decebal.nl> X-Face: "(y8cC@tg_12{">GF'UXTW]FHI2wMiZNrnf'1EFQ&O#$m:f#O7+7}kR,v+Pti8=Vi/Z"g^?b"E X-Homepage: http://www.decebal.nl/ Date: Fri, 01 May 2015 06:19:26 +0200 Message-ID: <87iocdrktt.fsf@Equus.decebal.nl> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:mNLqkgmbWAfn+H6v4zv2WhM7h0s= MIME-Version: 1.0 Content-Type: text/plain Lines: 34 NNTP-Posting-Host: 81.207.62.244 X-Trace: 1430454531 news.kpn.nl 21085 81.207.62.244@kpn/81.207.62.244:42512 Xref: csiph.com comp.lang.python:89689 Op Thursday 30 Apr 2015 22:53 CEST schreef Mark Lawrence: > On 30/04/2015 19:50, Cecil Westerhof wrote: >> Op Thursday 30 Apr 2015 19:12 CEST schreef Rob Gaddi: >> >>> This also leads to a unrelated question, Cecil. Given that you >>> really are just starting to get your Python feet under you, why >>> are you using Python2? Python3 is the standard now, Python2 is >>> really just given legacy support. I'd understand if you were >>> trying to maintain an old codebase with lots of legacy code that >>> was having "problematic" migrations, but with the opportunity to >>> start fresh? Start fresh. You'll be happier for it. >> >> I try to write code that works with both. Wen looking around in the >> Netherlands there are more job opportunities with Python 2 as with >> Python 3. So at the moment I find Python 2 more important, without >> forgetting Python 3. >> > > You might find this useful then in you haven't already seen it > https://docs.python.org/3/howto/pyporting.html > > I must also confess to being highly impressed, it's a breath of > fresh air having an apprentice Pythonista who is looking at doing > things the Pythonic way :) When in Rome, do as the Romans do. Besides: there probably is a reason for the Pythonic way. -- Cecil Westerhof Senior Software Engineer LinkedIn: http://www.linkedin.com/in/cecilwesterhof