FICHA · MANJARO

python-pexpect

For controlling and automating applications

  • Library
  • Dev
  • CLI
  • Dependency only
official+codex · reviewed · May 28, 2026 description in en

Description

Controls interactive command-line programs from Python by waiting for prompts and sending responses. It is useful for test suites, automation scripts, and tools that need to drive programs that were designed for a terminal.

Automation can send commands or secrets to other processes. Scripts should avoid logging passwords, handle timeouts, and run only against programs and systems the user is allowed to control.

Permissions

Permissions not analysed for this source yet.