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