How to Install python3-pexpect in Ubuntu 18.04



Install python3-pexpect by entering the following commands in the terminal:

sudo apt update
sudo apt install python3-pexpect

Description:

Python 3 module for automating interactive applications

Pexpect is a pure Python 3 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.

Homepage: http://www.noah.org/wiki/Pexpect

Version: 4.2.1-1

Section: python