摘要:
#!/user/bin/python3#coding=utf-8#2019/10/20 --13:17#author :huiimport json,requests#封装 get和post方法class Method: #post 方法 def post(self,url,body,headers 阅读全文
摘要:
import logging# 创建logger 对象logger = logging.getLogger()#设置log级别logger.setLevel(logging.DEBUG)# 保存到当前目录logfile = './log.txt'#a表示追加fh = logging.FileHand 阅读全文
摘要:
#!/user/bin/python3#coding=utf-8#2019/10/21 --10:04#author :huiimport xlrdfile = r'C:\Users\hui\Desktop\data.xlsx'data = xlrd.open_workbook(file) # 创建 阅读全文