+ 2
Python TKinter Text GUI and redirect Console Print Statement
Hi I need help with Python. I am using Python TKinter GUI and I am trying to pipe the print statement from the console to the GUI. Here is my function: for path in execute(["C:/file.bat", "a"]): print(path, end="") text.insert(END, path) Is there an easy way to do this?
1 Réponse