Alternative for \n when using telnetlib

Gillou nospam at bigfoot.com
Tue Feb 19 17:17:49 EST 2002


Did you try the small example

http://www.python.org/doc/current/lib/telnet-example.html

Try to pass the username in the cmd line too :

$ telnet -a -l myusername host

HTH

"Johan" <aequitas at planet.nl> a écrit dans le message news:
1103_1014153824 at Johan...
> When connecting to my adsl modem (alcatel speed touch pro) via telnetlib i
can read the date write my username. But then i when i give the \n to
proceed to the password it doesn't work. In interactive mode it has the
> same problem. It just writes a new line.
>
> Is there a alternate for the \n command?
>





More information about the Python-list mailing list