1. 首页
  2. 数据库
  3. 其它
  4. python网络编程实例简析

python网络编程实例简析

上传者: 2020-12-29 23:29:42上传 PDF文件 31.64KB 热度 18次
本文实例讲述了python网络编程,分享给大家供大家参考。 具体方法如下: 服务端代码如下: from SocketServer import(TCPServer as TCP, StreamRequestHandler as SRH) from time import ctime HOST = '' PORT = 21567 ADDR = (HOST, PORT) class MyRequestHandle(SRH): def handle(self): print 'connecting from ..', self.client_address
下载地址
用户评论