CLI

Carl Cerecke cdc at maxnet.co.nz
Thu Feb 9 16:36:31 EST 2006


mwt wrote:
> I want to do programmatic terminal commands on unix with python - i.e.
> I want my program to issue commands to start and stop scripts, other
> programs, etc. I'm sure this must be fairly straightforward, but
> haven't been able to find a reference for it. Any help?
> 

Try:

pexpect.sourceforge.net

Cheers,
Carl.



More information about the Python-list mailing list