def  read_json(path):
    """return dict"""
    with open(path,'r+')as f:
          return json.load(f)
def write_json(path,data):
    with open(path,"w+")as f:
        json.dump(data,f,indent=2)

  .

相关文章:

  • 2021-08-24
  • 2021-06-23
  • 2021-08-10
  • 2021-12-10
  • 2021-10-19
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-01-01
  • 2021-12-28
  • 2021-07-03
  • 2021-10-20
  • 2021-11-25
相关资源
相似解决方案