Pexpect -- a Pure Python Expect-like module -------------------------------------------
Pexpect is a pure Python module for spawning applications; controlling them; and responding to their output.
The purpose of the pexpect module is to make Python be a better glue. Pexpect is a pure Python module for spawning child applications; controlling them; and responding to expected patterns in their output. pexpect works like Don Libes' Expect. Use pexpect when you want to control another application. It allows you to start a child application and have your script control it as if a human were typing commands. Pexpect can be used for automating interactive applications such as ssh, ftp, passwd, telnet, etc. It can be used to a automate setup scripts for duplicating software package installations on different servers. It can be used for automated software testing. pexpect is in the spirit of Don Libes' Expect, but pexpect is pure Python. Other Expect-like modules for Python require TCL and Expect or require C extensions to be compiled. pexpect does not use C, Expect, or TCL extensions. It should work on any platform that supports the standard Python pty module. The pexpect interface was designed to be easy to use so that simple tasks are easy.
License: Open Source
Categories: Python Tools/Extensions
Noah Spurrier (email@example.com) http://www.noah.org/
-- <a href="http://sourceforge.net/projects/pexpect/">Pexpect -- a Pure Python Expect-like module</a> -- Pexpect is a pure Python module for spawning applications; controlling them; and responding to their output.