Python 2.7: Print thread safe
Question: I've seen a similar post
[here](http://stackoverflow.com/questions/3029816/how-do-i-get-a-thread-safe-
print-in-python-2-6) however it refers to Python 2.6 and I was hoping there
was an easier way.

From reading the thread it seems the best way is to just replace all my print
statements with sys.stdout.write(s + '\n') ?

I was hoping there was a nicer way that allowed me still to use print


Answer: 
    from __future__ import print_function
    print = lambda x: sys.stdout.write("%s\n" % x)
    

Is a nice cheap and dirty hack.

