摘要:
JSON 通用,只能识别 列表,字典等简单数据 PICKLE仅PYTHON适用,可序列化复杂类似对象等 使用举例: import json,pickleclass Account: def __init__(self,total,pay): self.total = total self.pay = 阅读全文
随笔档案-2019年01月
python 时间处理
2019-01-24 16:08 by 其修远兮666, 124 阅读, 收藏,
摘要:
#_*_coding:utf-8_*_ __author__ = 'Alex Li' import time # print(time.clock()) #返回处理器时间,3.3开始已废弃 , 改成了time.process_time()测量处理器运算时间,不包括sleep时间,不稳定,mac上测不 阅读全文
浙公网安备 33010602011771号