Jurian Sluiman wrote:
> Ok, somebody helped my and found with "help(child.sendline)" that the
> number (7) is the number of characters from my password.
>
> Still there doesn't seem to be that anything strange is happening. With
> the logfile printed out, I found that child.expect places a 0 behin
Ok, somebody helped my and found with "help(child.sendline)" that the
number (7) is the number of characters from my password.
Still there doesn't seem to be that anything strange is happening. With
the logfile printed out, I found that child.expect places a 0 behind the
next rule. Is this always
Hi all,
For my first script, I'm trying to build a program to set up a vpn
connection. I'm using pexpect to handle this, but I can't get it to work.
The sendline() is causing troubles. I tested it in the interactive promt,
with these results:
>>> import pexpect
>>> child = pexpect.spawn("vpnc-conn
Hi all,
I'm trying to build a program to set up a vpn connection. I'm using pexpect to handle this, but I can't get it to work.
The sendline() is causing troubles. I tested it in the interactive promt, with these results:
>>> import pexpect
>>> child = pexpect.spawn("vpnc-connect tudelft\ nop