How to use the returned telnet object after creating the telnet session.

Denis McMahon denismfmcmahon at gmail.com
Sun Sep 13 06:34:49 EDT 2015


On Sun, 13 Sep 2015 00:38:03 -0700, manjunatha.mahalingappa 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.
> 
> Now in the calling function If I use that object to read or write to
> terminal I'm getting ERROR "AttributeError: 'NoneType' object has no
> attribute 'read_very_eager'".

My best guess would be that something failed and has returned None 
instead of the object / class you're expecting.

-- 
Denis McMahon, denismfmcmahon at gmail.com



More information about the Python-list mailing list