[Tutor] python telnet

Tom Tucker tktucker at gmail.com
Sat Oct 22 21:48:34 CEST 2011


Take a look at pyexpect. I have used this mod to ssh into juniper firewalls,
excute a command, save results and exit. Instead of exiting you can drop
down to interactive mode.
On Oct 22, 2011 3:40 PM, "Rayon" <evosweet at hotmail.com> wrote:

> ** **
>
> ** **
>
> ** **
>
> *From:* Rayon [mailto:rayon at gtt.co.gy]
> *Sent:* 21 October 2011 18:53
> *To:* 'tutor at python.org'
> *Subject:* python telnet****
>
> ** **
>
> Can I connect to a telnet session and return data without disconnecting the
> data session.  ****
>
> ** **
>
> Regards Rayon****
>
> ** **
>
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> To unsubscribe or change subscription options:
> http://mail.python.org/mailman/listinfo/tutor
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20111022/d4d2cc87/attachment-0001.html>


More information about the Tutor mailing list