Re: telnet problem

2013-11-01 Thread Neil Cerutti
On 2013-11-01, wrote: > hello every expert, > When I use telnetlib to send a command, I meet some troubles, I > have read some documents about telnetlib and modify many times, > but the script doesn't work all the time. What goes wrong? -- Neil Cerutti -- https://mail.python.org/mailman/l

telnet problem

2013-11-01 Thread 神父
hello every expert, When I use telnetlib to send a command, I meet some troubles, I have read some documents about telnetlib and modify many times, but the script doesn't work all the time. I want to know why. My script is following: #!/usr/bin/python # import telnetlib t = telnetlib.Telnet() t.op