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?
import pexpect
# Launching the process
child = pexpect.spawn('ftp localhost')
child.sendline ('anonymous')
Last updated
Was this helpful?