how i can open different linux terminal to output differnt kinds of debug information in python?

Posted by Registered User KC on Stack Overflow See other posts from Stack Overflow or by Registered User KC
Published on 2010-05-29T03:04:46Z Indexed on 2010/05/29 3:12 UTC
Read the original article Hit count: 338

Filed under:
|
|
|
|

Hi All,

I need output different information to different terminal instances instead of print them in same output stream, say std.err or std.out.

for example: I have 5 kinds of information say A-E need to be displayed on different terminal windows on same desktop, looks like

[terminal 1] <- for displaying information A

[terminal 2] <- for displaying information B

[terminal 3] <- for displaying information C

[terminal 4] <- for displaying information D

[terminal 5] <- for displaying information E

I know I can output them into different files, then open terminals read the file in loop, but what I want is python program can open terminal by program itself and print to them directly when it is needed.

Is it possible?

Thanks!

KC

© Stack Overflow or respective owner

Related posts about python

Related posts about terminal