Problem with PEXPECT in Python

2007-06-30 Thread Kevin Erickson
Hello, I am attempting to use pexpect in python to copy files from a server using scp; the copy works however exceptions are thrown and it exits unsuccessfully. Below is the a sample code and the error: #Begin Code import sys import pexpect def GetServerData(self): foo = pexpect.sp

Re: Problem with PEXPECT in Python

2007-06-30 Thread Kevin Erickson
On Jun 30, 5:50 pm, Kevin Erickson <[EMAIL PROTECTED]> wrote: > Hello, > > I am attempting to use pexpect in python to copy files from a server > using scp; the copy works however exceptions are thrown and it exits > unsuccessfully. Below is the a sample code and the e