Python通过Telnet访问指定端口
来源:岁月联盟
时间:2012-06-28
import telnetlib
2
3
HOST = "<put host name here>"
4
PORT = <put port here>
5
t = telnetlib.Telnet()
6
t.open(HOST,PORT)
7
8
.......other process..............
作者:JeffYu