On 05/08/2010 15:38, Chris Withers wrote:
Kushal Kumaran wrote:

----- Original message -----
> Wolfgang Rohdewald wrote:
> > On Donnerstag 05 August 2010, Chris Withers wrote:
> > > But why only the request for auth credentials?
> >
> > for security reasons I suppose - make sure a human enters
> > the password
>
> Well yes, but what if you actually want to script it?
>

Then you use expect.

See http://pexpect.sf.net for a python version.

...which doesn't work on Windows.

There is a winpexpect:

http://pypi.python.org/pypi/winpexpect/1.3

TJG
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to