def __exit__(self, exc_type, exc_val, exc_tb):
# self.end = time.time()
# print('耗时:{}毫秒...sys, os, math, time, date,json
请在使用的时候查文档,例如日期文档:https://docs.python.org/zh-cn/3/library/datetime.html...#datetime.datetime
# sys, os, math, time, date
# 请在使用的时候查文档,例如日期文档:https://docs.python.org/zh-cn/3/library.../datetime.html#datetime.datetime
import sys
import os
import math
import datetime
import time
if __...().year >= 2021
# json序列化与反序列化
import json
if __name__ == '__main__':
# 在此实现json序列化和反序列化代码
obj