Re: stdin in embedded python

2009-11-01 Thread Gabriel Genellina
En Sun, 01 Nov 2009 23:13:10 -0300, Dave Angel escribió: Gabriel Genellina wrote: En Sun, 01 Nov 2009 13:34:44 -0300, KillSwitch escribió: On Nov 1, 5:34 am, Dave Angel wrote: KillSwitch wrote: > I have a C++ program, with a GUI, into which I have embedded python. I > have made severa

Re: stdin in embedded python

2009-11-01 Thread Dave Angel
Gabriel Genellina wrote: En Sun, 01 Nov 2009 13:34:44 -0300, KillSwitch escribió: On Nov 1, 5:34 am, Dave Angel wrote: KillSwitch wrote: > I have a C++ program, with a GUI, into which I have embedded python. I > have made several python functions in C++, one of which I use to > override t

Re: stdin in embedded python

2009-11-01 Thread Gabriel Genellina
En Sun, 01 Nov 2009 13:34:44 -0300, KillSwitch escribió: On Nov 1, 5:34 am, Dave Angel wrote: KillSwitch wrote: > I have a C++ program, with a GUI, into which I have embedded python. I > have made several python functions in C++, one of which I use to > override the normal stdout and stder

Re: stdin in embedded python

2009-11-01 Thread KillSwitch
On Nov 1, 5:34 am, Dave Angel wrote: > KillSwitch wrote: > > I have a C++ program, with a GUI, into which I have embedded python. I > > have made several python functions in C++, one of which I use to > > override the normal stdout and stderr so that they print to a text box > > of my GUI. One thi

Re: stdin in embedded python

2009-11-01 Thread Dave Angel
KillSwitch wrote: I have a C++ program, with a GUI, into which I have embedded python. I have made several python functions in C++, one of which I use to override the normal stdout and stderr so that they print to a text box of my GUI. One thing I cannot think of how to do is to redefine stdin so

stdin in embedded python

2009-11-01 Thread KillSwitch
I have a C++ program, with a GUI, into which I have embedded python. I have made several python functions in C++, one of which I use to override the normal stdout and stderr so that they print to a text box of my GUI. One thing I cannot think of how to do is to redefine stdin so that it pauses the