(2-25) 공백처리 취소

This commit is contained in:
2025-02-28 16:39:15 +09:00
parent 3f2b68cdf8
commit 088154b9d3
12 changed files with 20 additions and 3766 deletions

View File

@@ -518,36 +518,35 @@ class XMLScorer:
def main():
# scoring_criteria_path = r'./DIW.json'
# scoring_criteria_path = r'./DIW_2502A.json'
# scoring_criteria_path = r'./DIW_2502B.json'
scoring_criteria_path = r'./DIW_2502B.json'
# scoring_criteria_path = r'./DIW_2502C.json'
# scoring_criteria_path = r'./DIW_2502D.json'
scoring_criteria_path = r'./DIW_2502E.json'
# scoring_criteria_path = r'./DIW_2502E.json'
# xml(hml)파일 디렉토리 경로
# xml_directory = r'./output'
# xml_directory = r'./output/A'
# xml_directory = r'./output/B'
xml_directory = r'./output/B'
# xml_directory = r'./output/C'
# xml_directory = r'./output/D'
#xml_directory = r'./output/E'
xml_directory = r'./output/ee'
# xml_directory = r'./output/E'
# 오탈자 체크를 위한 정답 파일 경로
# answer_path = r'./output/정답.hml'
# answer_path = r'./output/A/DIW_2502A.hml'
# answer_path = r'./output/B/DIW_2502B.hml'
answer_path = r'./output/B/DIW_2502B.hml'
# answer_path = r'./output/C/DIW_2502C.hml'
# answer_path = r'./output/D/DIW_2502D.hml'
answer_path = r'./output/E/DIW_2502E.hml'
# answer_path = r'./output/E/DIW_2502E.hml'
timestamp = datetime.now().strftime("%y%m%d")
# 엑셀 파일명 (비어있으면 자동생성)
# output_path = f"{timestamp}_DIW_2502A_채점결과.xlsx"
# output_path = f"{timestamp}_DIW_2502B_채점결과.xlsx"
output_path = f"{timestamp}_DIW_2502B_채점결과.xlsx"
# output_path = f"{timestamp}_DIW_2502C_채점결과.xlsx"
# output_path = f"{timestamp}_DIW_2502D_채점결과.xlsx"
output_path = f"{timestamp}_DIW_2502E_채점결과.xlsx"
# output_path = f"{timestamp}_DIW_2502E_채점결과.xlsx"
# 채점 클래스 초기화
scorer = XMLScorer(scoring_criteria_path)