python thread safety: printing from thread to redirected stdout - safe?
This is actually a wxPython GUI question, but may still fall under the generic python umbrella.
If I redirect stdout (which, in my case, will update a wxPython text control), then run a print command from a thread. The thread updates the GUI via print. Is this safe or should I communicate via thread & main & let main handle it?
|