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" <[email protected]> wrote:
> ** ** > > ** ** > > ** ** > > *From:* Rayon [mailto:[email protected]] > *Sent:* 21 October 2011 18:53 > *To:* '[email protected]' > *Subject:* python telnet**** > > ** ** > > Can I connect to a telnet session and return data without disconnecting the > data session. **** > > ** ** > > Regards Rayon**** > > ** ** > > _______________________________________________ > Tutor maillist - [email protected] > To unsubscribe or change subscription options: > http://mail.python.org/mailman/listinfo/tutor > >
_______________________________________________ Tutor maillist - [email protected] To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor
