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
»
Edit on GitHub
Please activate JavaScript to enable the search functionality.
Read the Docs
v: 3.x
Versions
latest
stable
3.x
Downloads
pdf
htmlzip
epub
On Read the Docs
Project Home
Builds
Free document hosting provided by
Read the Docs
.