1Pexpect is a Pure Python Expect-like module 2 3Pexpect makes Python a better tool for controlling other applications. 4 5Pexpect is a pure Python module for spawning child applications; controlling 6them; and responding to expected patterns in their output. Pexpect works like 7Don Libes' Expect. Pexpect allows your script to spawn a child application and 8control it as if a human were typing commands. 9 10Pexpect can be used for automating interactive applications such as ssh, ftp, 11passwd, telnet, etc. It can be used to a automate setup scripts for 12duplicating software package installations on different servers. It can be 13used for automated software testing. Pexpect is in the spirit of Don Libes' 14Expect, but Pexpect is pure Python. Unlike other Expect-like modules for 15Python, Pexpect does not require TCL or Expect nor does it require C 16extensions to be compiled. It should work on any platform that supports the 17standard Python pty module. The Pexpect interface was designed to be easy to use. 18 19If you want to work with the development version of the source code then please 20read the DEVELOPERS document in the root of the source code tree. 21 22Free, open source, and all that good stuff. 23Pexpect Copyright (c) 2008 Noah Spurrier 24 25Permission is hereby granted, free of charge, to any person obtaining a copy 26of this software and associated documentation files (the "Software"), to deal 27in the Software without restriction, including without limitation the rights 28to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 29copies of the Software, and to permit persons to whom the Software is 30furnished to do so, subject to the following conditions: 31 32The above copyright notice and this permission notice shall be included in all 33copies or substantial portions of the Software. 34 35THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 36EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 37MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 38IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, 39DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR 40OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE 41USE OR OTHER DEALINGS IN THE SOFTWARE. 42 43Noah Spurrier 44http://pexpect.sourceforge.net/ 45 46