摘要:
def func_data(text): data = dict() for kv in text.split(','): k_v = kv.split(':') data[k_v[0]] = k_v[1] return data import json import xml.etree.cElementTree as ET ... 阅读全文
摘要:
import datetime timenow = (datetime.datetime.utcnow() + datetime.timedelta(hours=8)) timetext = timenow.strftime('%y%m%d') 阅读全文