File: index.rst

package info (click to toggle)
pexpect 4.8.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 1,136 kB
  • sloc: python: 10,351; makefile: 138; sh: 70; ansic: 69
file content (45 lines) | stat: -rw-r--r-- 1,376 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
Pexpect version |version|
=========================

Pexpect makes Python a better tool for controlling other
applications.

Pexpect is a pure Python module for spawning child applications;
controlling them; and responding to expected patterns in their output.
Pexpect works like Don Libes' Expect. Pexpect allows your script to
spawn a child application and control it as if a human were typing
commands.

Pexpect can be used for automating interactive applications such as
ssh, ftp, passwd, telnet, etc. It can be used to a automate setup
scripts for duplicating software package installations on different
servers. It can be used for automated software testing. Pexpect is in
the spirit of Don Libes' Expect, but Pexpect is pure Python. Unlike
other Expect-like modules for Python, Pexpect does not require TCL or
Expect nor does it require C extensions to be compiled. It should work
on any platform that supports the standard Python pty module. The
Pexpect interface was designed to be easy to use.

Contents:

.. toctree::
   :maxdepth: 2

   install
   overview
   api/index
   examples
   FAQ
   commonissues
   history

Pexpect is developed `on Github <http://github.com/pexpect/pexpect>`_. Please
report `issues <https://github.com/pexpect/pexpect/issues>`_ there as well.

Indices and tables
==================

* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`