> On Dec 4, 2018, at 15:37, Alan Gauld via Tutor <tutor@python.org> wrote:
> 
> On 04/12/2018 18:30, David Rock wrote:
>> you MUST stop trying to use batch mode, because it will never work.
> 
> But you could presumably use interactive mode via Popen
> by taking control of the stdin/out pipes.
> 
> But then you are basically re writing expect!

Right.  and what’s worse, sftp doesn’t like here documents (by design, for 
fairly obvious reasons).  The best option (if it’s possible) really is setting 
up ssh key authentication.



— 
David Rock
da...@graniteweb.com




_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to