On Fri, Mar 21, 2014 at 4:49 PM, Marko Rauhamaa <ma...@pacujo.net> wrote: > Chris Angelico <ros...@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.
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. ChrisA -- https://mail.python.org/mailman/listinfo/python-list