running python 2 vs 3
rosuav at gmail.com
Fri Mar 21 06:54:26 CET 2014
On Fri, Mar 21, 2014 at 4:49 PM, Marko Rauhamaa <marko at pacujo.net> wrote:
> Chris Angelico <rosuav at gmail.com>:
>> go for the lowest common denominator:
>> print("some single string")
>> which works happily in all versions of Python.
> Whenever I have used "print" in my code, it has been with a >>
Then you're probably not using "sys.stdout.write" but some other file
object's write method.
Also, I find it highly unusual that you never use print in its most
basic and intended form.
More information about the Python-list