Top "Pexpect" questions

Pexpect is a pure Python module that reads the output of a program and sends input to that program based on output patterns.

python pexpect clearing or flushing the line

I am trying to clear any characters on the line after recovering from an unknown state, as in some cases …

python pexpect
Python:Telnet password is not taking via script using pexpect

i have an issue while running my telnet script using pexpect.Problem is its taking only username from script not …

python telnet pexpect
How to see the output in pexpect?

I have write this program: [mik@mikypc ~]$ cat ftp.py #!/usr/bin/env python # This connects to the rediris ftp …

python pexpect
How to check the status of docker-compose up -d command

When we run docker-compose up-d command to run dockers using docker-compose.yml file, it starts building images or pulling images …

python docker docker-compose pexpect
python pexpect: SSHing then updating the date

I have finally have my python pexpect script working except for the most important part updating the date! I am …

python ssh pexpect
How to set explicitly the terminal size when using pexpect

I have a ncurses app that checks terminal size at startup and exits immediately if it doesn't fit. In Linux, …

python linux pexpect
how to use pexpect to get spontaneous output of subprocess in python

This is related to my another post multithreading issue with wx.TextCtrl (or underlying GTK+), which after correction with calling …

python multithreading wxpython pipe pexpect
Capture output from pexpect

I am having trouble with pexpect. I'm trying to grab output from tralics which reads in latex equations and emits …

python mathml pexpect
How to get Fabric to automatically (instead of user-interactively) interact with shell commands? Combine with pexpect?

Seeking means to get Fabric to automatically (instead of user-interactively) interact with shell commands (and not just requests for passwords, …

python deployment command-prompt fabric pexpect
pexpect setecho not working

I am trying to telnet to Cisco Router and give commands using pexpect. Its working, but the sendline() repeats in …

python cisco pexpect