收集使用记录功能的设置调整到config.json
This commit is contained in:
parent
fc0afe3a03
commit
b2ddea4c5c
|
|
@ -1,12 +1,14 @@
|
|||
zipfilepath = r"C:\Users\weiye\Downloads\可选_222816958193934270733_基础赋能卷9_高三_数学.zip"
|
||||
# zipfilepath = r"D:\temp\222817041862672707412_控江中学2023学年第一学期高一数学期末考试_高一_数学.zip"
|
||||
date = "20240118"
|
||||
threshold = 0.75 #设置最低提交人数比例
|
||||
|
||||
|
||||
from database_tools import *
|
||||
import zipfile,shutil
|
||||
|
||||
configjson = load_dict("文本文件/config.json")["收集使用记录.py"]
|
||||
|
||||
|
||||
zipfilepath = configjson["zip文件路径"]
|
||||
date = configjson["日期"]
|
||||
threshold = configjson["提交人数比例最小值"]
|
||||
|
||||
|
||||
tempdir = "临时文件/zips"
|
||||
statsfilename = "小题分_按学号(数学).xlsx"
|
||||
answersheetseekingpath = "../备课组"
|
||||
|
|
|
|||
Reference in New Issue