Python Front End to Dos Progrrams?
Mirko Liss
n89553 at stud.upb.de
Mon May 8 10:35:58 EDT 2000
James Pannozzi wrote:
> Has anyone ever written a Python front-end to DOS based programs in which
> the user clicks on a menu and then the Python program generates the correct
> set of goofy dos app keypresses and sends it to the dos app? Is this
> do-able?
I suppose you need two different things:
a. The python equivalent of the expect - command which is available
under Unix.
expect parses the standard output of an application and feeds to its
standard input. There are various packages available at
ftp.python.org or
at the Vaults of Parnassus.
Some are plain wrappers around Unix's expect, some emulate expect.
b. A Python GUI toolkit to create window frames, buttons, etc.
Tcl/Tk and Tkinter are already included into the W95 Python
Distribution.
You might only need some documentation how to use Tkinter.
wxPython suits me fancier, but that's just my own silly opinion.
friendly regards,
Mirko
--
M Liß, Tel 05251-740120 <liss at squid.upb.de>
More information about the Python-list
mailing list