[Tutor] STUPID telnet connection question
Kĩnũthia Mũchane
kinuthia.muchane at gmail.com
Sat Jun 11 23:11:52 CEST 2011
On 06/11/2011 08:02 PM, davidheiserca at gmail.com wrote:
>
> I think Steven and Alan misunderstood the Rayon's question.
What is 1 + 1?
David I am with you.
>
> Rayon is using his telnet script to pass commands to a device ONE AT A
> TIME. Then he breaks the connection and reconnects for the next command..
>
> He is asking how to open a telnet connection, pass MULTIPLE commands,
> then close the session.
>
> In my opinion, both of your responses border on rude. This mailing
> list is supposedly for beginners who often don't even know enough to
> formulate a clear question. If some of the more senior members
> ridicule the beginner's stupid questions, how will he or anyone else
> learn anything.
>
> If I were a shy beginning programmer, these responses would probably
> cause me to think twice before asking any stupid questions. Why put
> myself out there for ridicule?
>
> There are no stupid questions! There are only stupid teachers.
>
>
>
>
> ----- Original Message ----- From: "Steven D'Aprano"
> <steve at pearwood.info>
> To: <tutor at python.org>
> Sent: Friday, June 10, 2011 3:53 AM
> Subject: Re: [Tutor] telnet connection question
>
>
>> Rayon wrote:
>>> HI All, Is there any way that I can use python telnetlib to connect
>>> to a telnet
>>> session.
>>
>> It would be a pretty rubbish telnet library if it didn't let you make
>> telnet connections.
>>
>> I don't understand why you are asking this question, since you have
>> successfully made connections and are complaining that they are too
>> slow.
>>
>>
>>> Send commands and get back data without closing the connection.
>>
>> It would be a pretty rubbish telnet library if you couldn't send
>> telnet commands. What makes you think it might not?
>>
>>
>>> I need the response to be faster and the login process is taking up
>>> too much
>>> time.
>>
>> Then get a faster link.
>>
>> Seriously, this is a silly question. It's like saying "I need a
>> longer piece of string". Okay, fine. How long would you like? Why is
>> the piece you have too short? We can't answer those questions.
>>
>> How are you logging in? How much time are you talking about? How fast
>> is your link?
>>
>>
>>> I was thinking I could use a queue to pass in data but I am not sure
>>> how i
>>> would get it out.
>>
>> What data do you need to pass in, and why do you think a queue will
>> help you?
>>
>>
>>
>> --
>> Steven
>>
>> _______________________________________________
>> Tutor maillist - Tutor at python.org
>> To unsubscribe or change subscription options:
>> http://mail.python.org/mailman/listinfo/tutor
>
> _______________________________________________
> Tutor maillist - Tutor at python.org
> To unsubscribe or change subscription options:
> http://mail.python.org/mailman/listinfo/tutor
--
Kĩnũthia
More information about the Tutor
mailing list