Python - pexpect

Basic Example

import pexpect
# Launching the process
child = pexpect.spawn('ftp localhost')
child.sendline ('anonymous')

Pexpect on Windows

Last updated

Was this helpful?