I am attempting to create a GUI for a program that prints out string-matched log messages to the console in real-time. This is managed by a Python script.
The script needs to be adjustable, and I am working on building a GUI for it.
I prefer to use the CustomTkinter module, but basic TKinter also works.
I am having difficulty redirecting the console output to the GUI.
The printed messages in the console come from an array where all the matched log messages are appended.
Ultimately, you should be able to stay in the GUI and not need to check a console for the real-time analysis of these log messages.
Maybe I am using the wrong widgets, or my console redirect is wrong in general.
I have tried multiple versions that I found online, but nothing seems to work in my case.
Perhaps someone knows a quick answer to this.
vale_me is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1