Pexpect
Installation
Requirements
API Overview
Special EOF and TIMEOUT patterns
Find the end of line – CR/LF conventions
Beware of + and * at the end of patterns
Debugging
Exceptions
API documentation
Core pexpect components
fdpexpect - use pexpect with a file descriptor
replwrap - Control read-eval-print-loops
pxssh - control an SSH session
screen - manage a virtual ‘screen’
ANSI - ANSI (VT100) terminal emulator
Examples
FAQ
Common problems
Threads
Timing issue with send() and sendline()
Timing issue with isalive()
Truncated output just before child exits
Controlling SSH on Solaris
History
Releases
Moves and forks
Pexpect
Docs
»
Overview: module code
Edit on GitHub
All modules for which code is available
pexpect
pexpect.ANSI
pexpect.fdpexpect
pexpect.pxssh
pexpect.replwrap
pexpect.screen