On Sun, Sep 13, 2015 at 12:29 AM, Manju M <manjunatha.mahalinga...@gmail.com> wrote: > > Assume that I will pass IP and port information from a function to open the > telnet session. have opened the telnet session and after opening the telnet > session I returned telnet object to calling function.
Hi Manju, I apologize for potentially hijacking your question, but you may want to consider SSH over the telnet protocol. There are Python libraries that know how to speak SSH: https://wiki.python.org/moin/SecureShell and the use of Telnet is often discouraged because it does not protect its data. _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor