摘要:
code import hashlib m=hashlib.md5("timestamp=1609255104851&data={'company_id': '5fd09cf027f65f542573d0b5', 'org_unit_name': '审计部1609255104851', 'third 阅读全文
摘要:
code import time import datetime t=datetime.datetime.now() #当前日期 d1 =t.strftime('%Y-%m-%d %H:%M:%S') print(d1) #7天后 d2=(t+datetime.timedelta(days=7)). 阅读全文
摘要:
code import random def RandomPhone(): prelist = ["130", "131", "132", "133", "134", "135", "136", "137", "138", "139", "147", "150", "151", "152", "15 阅读全文
摘要:
一、Dictionary 转为JSON 将dict转为JSON,这里利用包json import jsonaItem = {}aItem["id"] = "2203"aItem["title"] = "title"aItem["subTitle"] = "sub title"bItem = {}bI 阅读全文
摘要:
requests库提示警告: (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in 阅读全文