Re: [Tutor] ​How to use the returned telnet object after creating the telnet session.

2015-09-13 Thread Danny Yoo
On Sun, Sep 13, 2015 at 12:29 AM, Manju M 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 potent

Re: [Tutor] Syntax error and EOL Error

2015-09-13 Thread Danny Yoo
On Sun, Sep 13, 2015 at 7:20 AM, Nym City via Tutor wrote: > Hello, > Sorry for the late response. It took me sometime to find the solution. Below > is my updated code which seems to be working fine now. Just wanted to share > with the group here. > > import csv > DomainList = [] > > domains = o

Re: [Tutor] Syntax error and EOL Error

2015-09-13 Thread Nym City via Tutor
Hello, Sorry for the late response. It took me sometime to find the solution. Below is my updated code which seems to be working fine now. Just wanted to share with the group here. import csv DomainList = [] domains = open('domainlist.csv', 'r') DomainList = csv.reader(domains) DomainList = [co

Re: [Tutor] ​How to use the returned telnet object after creating the telnet session.

2015-09-13 Thread Alan Gauld
On 13/09/15 08:29, Manju M 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. That makes sense so far. Unfortunately its hard to rea

[Tutor] ​How to use the returned telnet object after creating the telnet session.

2015-09-13 Thread Manju M
Hello all, First I would like thank you for creating such good platform for discussing python..!!! 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 fu