Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Seperate output buffer
#1
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
Reply
#2
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?
Reply
#3
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...
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Read buffer from bluetooth frohr 2 2,157 Jun-01-2022, 01:31 PM
Last Post: frohr
  How to seperate dict value? ilknurg 2 1,357 Mar-11-2022, 10:48 AM
Last Post: perfringo
  Two separate dataframes, two seperate programs stylingpat 2 2,005 Apr-28-2021, 07:56 PM
Last Post: stylingpat
  JS Buffer.from VS struct.pack DreamingInsanity 3 2,471 Apr-05-2021, 06:27 PM
Last Post: DreamingInsanity
  temporarily buffer output, and output it later rowan_bradley 5 2,940 Mar-24-2021, 08:45 PM
Last Post: deanhystad
  PyAudio Buffer Data Calculation MclarenF1 0 2,141 Aug-21-2020, 10:55 AM
Last Post: MclarenF1
  Additional buffer for Windows constantin01 0 1,402 Mar-31-2020, 10:24 AM
Last Post: constantin01
  Getting MemoryError frames.write(buffer) kunwarsingh 0 1,615 Feb-10-2020, 09:39 PM
Last Post: kunwarsingh
  how to seperate words from string zarize 2 2,080 Aug-29-2019, 08:23 AM
Last Post: zarize
  SQL connection in seperate file? Tommy 1 2,074 Jul-12-2019, 12:42 PM
Last Post: ichabod801

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020