This repository has been archived on 2024-06-23. You can view files and clone it, but cannot push or open issues or pull requests.
mathdeptv2/工具v2/合并使用记录并排序.py

11 lines
249 B
Python

prodictpath = "../题库0.3/Problems.json"
from database_tools import *
prodict = load_dict(prodictpath)
same_groups = GetSamePairs(prodict)
for sg in same_groups:
ShareSameUsages(prodict,sg)
SortUsages(prodict)
save_dict(prodict,prodictpath)