UPDATE terminal output to the subprocess output wxPython.

hi ,
I am having a problem which i am searching the solution from you guys , I have search for it but unable to get my solution.
what i want to do is to update the subprocess output to be updated in my text control ; i want it to be shown as like shown in the terminal in which

the output is constantly updated as like in catching signals …in which updates the terminal frequently…i want to it be updated like it in my text control area which is the target for my subprocess output.
Thanx in advance and appreciate ur concern

Anil ph

···

On Thu, Jul 8, 2010 at 6:44 PM, tinauser tinauser@libero.it wrote:

Dear Robin,

thanks for the answer.

I had a wxPython runtime version, so I could not figure out how to

link wxwidget and wxpython to the same dll.

I tryed to build then the source code.

I got into problems when trying to install wxpython, namely I get this

error:

File “C:\Pyhoton26\lib\distutils\file_util.py”, line 119, in copy_file

“can’t copy ‘%s’”: doesn’t exist or not a regular file" % src

distutils.errors.DistutilsFileError: can’t copy 'C:

\Pyhoton26\docs7preamble.txt’: doesn’t exist or not a regular file

My PATH user variable has \Tools;\Tools\WINNT;\BIN;\MSDev98\BIN;C:\Qt

\3.2.1NonCommercial\bin;C:\Python26;C:\Python26\wxPython-

src-2.8.11.0\lib\vc_dll; C:\Programmi\Microsoft SDKs\Windows\v6.0A

\bin; C:\Program Files\Microsoft Visual Studio 9.0\VC\Bin; C:

\Program Files\Microsoft Visual Studio 9.0\Common7\ID

and the system variable has:

%systemroot%\system32;%systemroot%;%systemroot%\system32\wbem;c:

\programmi\ati technologies\ati control panel;c:\programmi\intel

\wireless\bin;d:\programmimaster\bin\win32;D:\ProgrammiMaster

\Matlab2007a\bin;D:\ProgrammiMaster\Matlab2007a\bin\win32;C:\Programmi

\Point Grey Research\PGR FlyCapture\bin;D:\Programmi\TortoiseSVN

\bin;C:\Programmi\QuickTime\QTSystem;D:\ProgrammiMaster\CMake

2.8\bin;C:\Programmi\Microsoft Visual Studio 9.0\VC\bin;C:\Programmi

\Microsoft Visual Studio 9.0\Common7\IDE;C:\Programmi\Microsoft Visual

Studio 9.0\VC\include;C:\Programmi\Bakefile

So the python command should call the correct interpreter…I can’t

understand where is the problem.

I should add I also have an already builded version of

wxWidgets-2.8.11; could the problem orignite from the fact I have

double copy of wxwidget?

Thanks in advance

On 5 Lug, 18:51, Robin Dunn ro...@alldunn.com wrote:

On 7/4/10 11:27 AM, tinauser wrote:

Hi guys,

I wrote a GUI inC++using thewxlibrary.

Now I need to generate scietific-like figures and scipy would be

really great.

I know how to use python as scripting language in C, so I could access

scipy. The problem then is the following: is it possible to get back

in C the wxPython figure (probably a panel) and reparent to a window I

generate withwx?

Could you give me some reference or a pseudo-code or even a couple of

commands that could be handy?Or do you think it is better to write

back all the code of the GUI in wxPython

There is an example of using wxPython from awxC++app in the wxPython

distribution in the samples/embedded folder. There are some comments in

the code that show how to set up the environment and how to do a few

things. Your specific questions may not be answered there, but it will

probably get you on the right track.

Robin Dunn

Software Craftsmanhttp://wxPython.org

To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com

or visit http://groups.google.com/group/wxPython-users?hl=en