Transcription of Pexpect Documentation - Read the Docs
{{id}} {{{paragraph}}}
Pexpect DocumentationRelease Spurrier and contributorsMay 16, 2019 Contents1 ..32 API EOF and TIMEOUT patterns .. the end of line CR/LF conventions .. of + and * at the end of patterns .. on Windows ..93 API Pexpect components .. - use Pexpect with a file descriptor .. - use Pexpect with a piped subprocess .. - Control read-eval-print-loops .. - control an SSH session ..254 Examples335 FAQ356 Common .. issue with send() and sendline() .. output just before child exits .. SSH on Solaris .. does not receive full input, emits BEL ..407 .. and forks ..478 Indices and tables49 Python Module Index51iiiPexpect Documentation , Release makes Python a better tool for controlling other is a pure Python module for spawning child applications; controlling them; and responding to expectedpatterns in their output.
The expect()method waits for the child application to return a given string. The string you specify is a regular expression, so you can match complicated patterns.
Domain:
Source:
Link to this page:
Please notify us if you found a problem with this document:
{{id}} {{{paragraph}}}
Having a C-Section: What to Expect, What to Expect, What to Expect When, Ulnar Nerve Decompression What to expect, Ultrasound-Guided Core Needle biopsy, What to, Ultrasound guided core needle biopsy, Preparing for your Thoracoscopic Procedure, Expect, Expect — or — Automating Automating Interactive Programs, What to Expect from your Licensed Counselor, Self-Represented Petitioner or, Tool For Automating Interactive