Hi. I’m using wxpython in order to make a GUI for a nesc (C++ wrap) program
Inside the nesc program, there are dbg statements, which send messages to the standard output (sys.stdout)
I have redirected sys.stdout
on python to make it appear on my textbox. It does work for python prints, but not for dbg statements (it claims that the parameter needs to be a file, and my textbox isnt)
A pipe seems to be the solution. Can someone suggest the most efficient way of doing this?