摘要:1 #!/usr/bin/env python 2 # _*_ coding:utf-8 _*_ 3 # __author__ = "lx" 4 5 import os 6 import sys 7 8 BASE_DIR = os.path.dirname(os.path.dirname(os.pa
阅读全文
摘要:1 import json 2 import select 3 import socket 4 import queue 5 import os 6 7 8 os.chdir(os.pardir) 9 server = socket.socket() 10 server_addr = ("local
阅读全文
摘要:1 #server端 2 # 3 def _put(self,*args,**kwargs): 4 '''上传文件命令''' 5 data = args[0] 6 7 response = self.get_response() 8 if response["status_code"] == 257
阅读全文