telnet python