l = range(int(1E9))

Mark Lawrence breamoreboy at yahoo.co.uk
Thu Apr 30 22:53:24 CEST 2015


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 :)

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

Mark Lawrence




More information about the Python-list mailing list