HEX
Server: Apache
System: Linux server-650184.peru-code.com 5.14.0-611.34.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Feb 18 05:51:10 EST 2026 x86_64
User: misterpa (1005)
PHP: 8.2.30
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //usr/share/doc/python3-pexpect/doc/api/index.rst
API documentation
=================

.. toctree::
   :maxdepth: 2

   pexpect
   fdpexpect
   popen_spawn
   replwrap
   pxssh

The modules ``pexpect.screen`` and ``pexpect.ANSI`` have been deprecated in
Pexpect version 4. They were separate from the main use cases for Pexpect, and
there are better maintained Python terminal emulator packages, such as
`pyte <https://pypi.python.org/pypi/pyte>`__.
These modules are still present for now, but we don't advise using them in new
code.