On 04/12/2018 06:25, Asad wrote: > Permission denied (keyboard-interactive,publickey,password). > Connection closed > > Is there any other way to acheive this because I cannot import pexcept > module .
That looks like the problem that David already highlighted with sftp. When you say you cannot import pexpect, is that because you are not allowed to? Or because of some technical issue? If so what? We might be able to help fix that. Also, you do realize that pexpect is not part of the standard library? You need to install it first. -- Alan G Author of the Learn to Program web site http://www.alan-g.me.uk/ http://www.amazon.com/author/alan_gauld Follow my photo-blog on Flickr at: http://www.flickr.com/photos/alangauldphotos _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor