How do I get a thread safe print in Python 2.6?

Posted by knorv on Stack Overflow See other posts from Stack Overflow or by knorv
Published on 2010-06-12T19:15:43Z Indexed on 2010/06/12 19:22 UTC
Read the original article Hit count: 130

Filed under:
|

print in Python is not thread safe according to these articles.

A Python 3 work-around is offered in the latter article.

How do I get a thread safe print in Python 2.6?

© Stack Overflow or respective owner

Related posts about python

Related posts about multithreading