Relative Content

Tag Archive for python-3.xraspberry-pi5

Displaying a serial packet feed to a textbox

I’m working on a Python program on a Raspberry Pi that reads a serial data packet from a radio receiver. It then reconfigures the data stream to upload to a server. The current program is running flawlessly. It reads the data, reconfigures and uploads it, then displays a rolling feed of what was sent in the terminal window. However, I can’t just leave well enough alone. I want a nice GUI to look at with pretty buttons and all. Here’s the question… The program uses print() to print to the terminal window that will not be available inside the GUI. How can I take that String of data and create a rolling flow in a window or whatever. I’m using CTkinder and Python.