Re: [Tutor] responding to command line

2015-11-25 Thread Patrick Hess
Alan Gauld wrote: > But there is a python wrapoper round expect - pexpect - that > means you don't need to learn Tcl ;) > > https://github.com/pexpect/pexpect Interesting, thanks. And better yet, it's not just a wrapper around Expect: "Pexpect is in the spirit of Don Libes' Expect, but Pexpect i

Re: [Tutor] responding to command line

2015-11-25 Thread Patrick Hess
richard kappler wrote: > and I want the script to detect that password request and provide the > password (Same for all 500 + machines, so no issue there). My recommendation would be to take a look at Expect[1]. Yes, I know, it's not Python, but using a tool specifically tailored to handle this k