Thanks! That solves my question about configuring the timeout value.
However - I still have the problem (I believe) that by default, I can
handle all the output. When I issue the "show version" it fails, but
if I issue a command with less data returned it succeeds.
In the documentation I can see
On Tue, Oct 20, 2009 at 11:11 AM, Nathan Farrar wrote:
> I haven't been able to find any real examples of pexpect usage, nor
> documentation. Just little bits here and there, so I'm kind of
> struggling through.
>
> I've got the follow bit of code I'm working with:
>
> def main():
>try:
>
I haven't been able to find any real examples of pexpect usage, nor
documentation. Just little bits here and there, so I'm kind of
struggling through.
I've got the follow bit of code I'm working with:
def main():
try:
print 'attempting to spawn connection ... '
session = pexp