Original Post
Let's say I have a C++ program like the following: int main() { for ( int i = 0; i < 10; i++ ) printf("%d", i); return 0; } Let's also assume that I have a python wrapper for the above called WrapMain. I want to invoke this C++ program from my Python GUI and I also want the counter 0 to 9 to be displayed live on a python widget, for example a display progress bar.