Last updated 4 years ago
Was this helpful?
import pexpect # Launching the process child = pexpect.spawn('ftp localhost') child.sendline ('anonymous')