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" <evosw...@hotmail.com> wrote:
> ** ** > > ** ** > > ** ** > > *From:* Rayon [mailto:ra...@gtt.co.gy] > *Sent:* 21 October 2011 18:53 > *To:* 'tutor@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@python.org > To unsubscribe or change subscription options: > http://mail.python.org/mailman/listinfo/tutor > >
_______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor