running python 2 vs 3

Marko Rauhamaa marko at pacujo.net
Fri Mar 21 01:49:54 EDT 2014


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 >>
redirection.


Marko



More information about the Python-list mailing list