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
Forever Free Full-Stack Observability | Grafana Cloud
Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
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