Running a DOS program

Duncan Smith buzzard at urubu.freeserve.co.uk
Sat Feb 8 14:55:59 EST 2003


"ddoc" <news at 92tr.freeserve.co.uk> wrote in message
news:b23fkg$juq$1 at newsg1.svr.pol.co.uk...
> What can be used to read the screen of a DOS program running in an NT
> consle "scree-scraping", and what can be used to give it input as though
> the input had been typed?
>
> The desire is to make a shell around a DOS program, so as to integrate
some
> other elements with it.
> --
> A

popen4() in the os module might be what you want.

Duncan






More information about the Python-list mailing list