Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #96490

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

From Denis McMahon <denismfmcmahon@gmail.com>
Newsgroups comp.lang.python
Subject Re: How to use the returned telnet object after creating the telnet session.
Date 2015-09-13 10:34 +0000
Organization A noiseless patient Spider
Message-ID <mt3jg9$vvf$1@dont-email.me> (permalink)
References <e578698e-7721-4c01-a270-61fa211c3f79@googlegroups.com>

Show all headers | View raw


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@gmail.com

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

How to use the returned telnet object after creating the telnet session. manjunatha.mahalingappa@gmail.com - 2015-09-13 00:38 -0700
  Re: How to use the returned telnet object after creating the telnet session. Denis McMahon <denismfmcmahon@gmail.com> - 2015-09-13 10:34 +0000
  Re: How to use the returned telnet object after creating the telnet session. Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2015-09-13 12:40 -0400

csiph-web