Pexpect is a Python module for spawning child applications; controlling them; and responding to expected patterns in their output. Pexpect can be used for automating interactive applications such as ssh, ftp, passwd, telnet, etc. Pexpect is pure Python.
Note that Pexpect development has moved to Github: https://github.com/pexpect/pexpect
License
ISC LicenseFollow Pexpect - Pure Python Expect-like module
Other Useful Business Software
Build Securely on AWS with Proven Frameworks
Moving to the cloud brings new challenges. How can you manage a larger attack surface while ensuring great network performance? Turn to Fortinet’s Tested Reference Architectures, blueprints for designing and securing cloud environments built by cybersecurity experts. Learn more and explore use cases in this white paper.
Rate This Project
Login To Rate This Project
User Reviews
-
Thank you for your work.
-
This is great. Thank you for your work guys!
-
Thank, Noah Spurrier! Your FSM is beautiful. I use it.
-
Excellent. Light-weight and loaded with most of the features I wanted.
-
I use it currently to control uboot and ssh from a Windows7 box, trough cygwin over a ttyS3 (usb serial cable), I should have found out about this earlier ... Nice stuff