Pexpect is a pure Python Expect. It allows easy control of other applications. https://pexpect.readthedocs.io/en/latest/
Go to file
2024-01-05 16:16:26 +01:00
python-pexpect.spec automatic version update by autodist [release 4.7.0-1mamba;Tue May 07 2019] 2024-01-05 16:16:26 +01:00
README.md automatic version update by autodist [release 3.2-1mamba;Fri Apr 18 2014] 2024-01-05 16:16:25 +01:00

python-pexpect

Pexpect is a pure Python expect-like module. Pexpect makes Python a better tool for controlling other applications. 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. Pexpect allows your script to spawn a child application and 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. Unlike other Expect-like modules for Python, Pexpect does not require TCL or Expect nor does it require C extensions to be compiled. It should work on any platform that supports the standard Python pty module. The Pexpect interface was designed to be easy to use. Send questions to: noah@noah.org Put 'pexpect' in the subject.