def installPexpect(vm, prompt=Prompt):
 vm.sendline('sudo -n apt-get -qy install python-pexpect')
 vm.expect(prompt)

def installPexpect ( vm , prompt = Prompt ) : vm . sendline ( 'sudo -n apt-get -qy install python-pexpect' ) vm . expect ( prompt )
install pexpect .