telnetlib.Telnet.interact

Telnet.interact()[source]

Interaction function, emulates a very dumb telnet client.