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
»
API documentation
Edit on GitHub
API documentation
ΒΆ
Core pexpect components
spawn class
run function
Exceptions
Utility functions
fdpexpect - use pexpect with a file descriptor
fdspawn class
replwrap - Control read-eval-print-loops
pxssh - control an SSH session
pxssh class
screen - manage a virtual ‘screen’
ANSI - ANSI (VT100) terminal emulator
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
.