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/在.tex或.pdf文件中获取题号.py

15 lines
303 B
Python

from database_tools import *
configjson = load_dict("文本文件/config.json")["在.tex或.pdf文件中获取题号.py"]
filepath = configjson["文件路径"]
outputpath = configjson["输出路径"]
output = ExportIDList(filepath)
SaveTextFile(output,outputpath)
os.system(f"code {outputpath}")