Skip to main content

Thread: Python threading question


hello.
using python 2.7.2 write game. know best way have multiple working (terminal) windows in program each showing different information.

cant figure out how use stdout, , make explicit. know if should use thread or multi/child process.

spawning new process not lock main thread thinking correct?

thank in advance.

if need display status info...

code:
logfile = open("/path/to/terminfo_1", "w")  print >> logfile "text display"
to view in real time open regular terminal , type...
code:
tail -f /path/to/terminfo_1


Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Programming Talk Python threading question


Ubuntu

Comments

Popular posts from this blog

How to set the order of FAQs instead of alphabetical

Thread: Get UK Keyboard working

how do I change the e-mail address for my merchant account