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...
to view in real time open regular terminal , type...code:logfile = open("/path/to/terminfo_1", "w") print >> logfile "text display"
code:tail -f /path/to/terminfo_1
Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Programming Talk Python threading question
Ubuntu
Comments
Post a Comment