pyexpect.py provides some Expect-like capabilities for Python/Tkinter
programs. It provides a class Expect which knows how to
o send data to a stream (Expect.send())
o wait for a client-specified interval (Expect.timeout) for
stream input to match a set of regular expressions (Expect.expect())
o cancel an in-progress expect() invocation (Expect.cancel())
Clients should take care to supply only file objects which are set for
non-blocking I/O.
pyexpect.py includes an "if __name__ == '__main__':" clause to illustrate
its use.
Mitch Chapman
[email protected]
$Id: pyexpect.README,v 1.1 1996/10/08 00:04:51 mchapman Exp $