system-output to wxpython-window

Peter Hansen peter at engcorp.com
Wed Jun 26 08:51:17 EDT 2002


Klaus Reinhardt wrote:
> 
> I have some batch-files, which I want to
> invoke from a nice wxpython-frame. So
> I did   system("0m.bat");   but the output
> is coming to the DOS-shell-window. Is
> there a simple way to do the job. Best case
> would be one menue-window and another
> for output.

Look into os.popen or the popen2 module.

-Peter



More information about the Python-list mailing list