Python通过Telnet访问指定端口


1
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

相关内容

    暂无相关文章

评论关闭