Python Forum

Full Version: Seperate output buffer
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

I am writing a program that has graphical output to the terminal. I would like to be able to see the results of print messages set to double check the output of functions, etc. I also get responses from the server that I would like to see. How do I run my script and get a separate window or screen session for the non-graphical output? Thanks!

--Matt
If you run your python script from a terminal, all python print statements will output to that terminal and not your GUI. Does that help?
Well, I am using py_cui, so my GUI is in the terminal itself. I am using a screen session, and even if I Ctrl-Esc and scroll up, there is no other output that shows. It will show output if there is an error that prevents the script from running, but if the program runs, then all I can see is my GUI.

So what I am looking for is how to see the result of the non-GUI part of the program while it is running...