摘要:
一、基本使用 import logging if __name__ == '__main__': logging.basicConfig(level = logging.DEBUG,format = '%(asctime)s - %(name)s - %(levelname)s - %(messag 阅读全文
摘要:
一、服务端 import socketserver import time conn_poll = [] class MyServer(socketserver.BaseRequestHandler): def handle(self): print('... connected from {}'. 阅读全文