running python 2 vs 3

Mark Lawrence breamoreboy at
Thu Mar 20 21:44:03 CET 2014

On 20/03/2014 20:30, Marko Rauhamaa wrote:
> Mark Lawrence <breamoreboy at>:
>> The starter is 2to3 which had been in the standard library for what
>> seems like an eternity to me.
> No problem there. It helps you transition from python2 to python3.
> However, python3 is here and you should be able to write genuine python3
> code with the appropriate bytes and string facilities. It would be very
> confusing to try to mix the two regimes.
> I must say, though, that Python3 destroyed "print" forever for me. To
> avoid nausea, I write sys.stdout.write() in all Python3 code.

Not for me, I was using from __future__ import print_function for years 
so got used to typing those two extra brackets, plus print very kindly 
inserts the newlines for me.

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.

More information about the Python-list mailing list