파일 삭제 및 새로운 채점 기준 추가
This commit is contained in:
12
test.py
12
test.py
@@ -53,8 +53,8 @@ def convert_hwp_to_xml(input_folder, output_folder):
|
||||
|
||||
# 자동화 보안 설정
|
||||
hwp.RegisterModule("FilePathCheckDLL", "FilePathCheckerModule")
|
||||
# hwp.XHwpWindows.Item(0).Visible = False
|
||||
hwp.XHwpWindows.Item(0).Visible = True
|
||||
hwp.XHwpWindows.Item(0).Visible = False
|
||||
# hwp.XHwpWindows.Item(0).Visible = True
|
||||
|
||||
# 출력 폴더가 없으면 생성
|
||||
os.makedirs(output_folder, exist_ok=True)
|
||||
@@ -126,12 +126,12 @@ if __name__ == "__main__":
|
||||
|
||||
|
||||
# 변환할 폴더 경로 설정
|
||||
# input_folder = r"C:\Users\dra\project\HWP-Scoring\input" # HWP 파일이 있는 폴더
|
||||
# output_folder = r"C:\Users\dra\project\HWP-Scoring\output" # XML 파일을 저장할 폴더
|
||||
input_folder = r"C:\Users\dra\project\HWP-Scoring\input" # HWP 파일이 있는 폴더
|
||||
output_folder = r"C:\Users\dra\project\HWP-Scoring\output" # XML 파일을 저장할 폴더
|
||||
|
||||
# 변환할 폴더 경로 설정
|
||||
input_folder = r"C:\Users\gzero-ser7-win11\Project\KAIT\hwpTest\input" # HWP 파일이 있는 폴더
|
||||
output_folder = r"C:\Users\gzero-ser7-win11\Project\KAIT\hwpTest\output" # XML 파일을 저장할 폴더
|
||||
# input_folder = r"C:\Users\gzero-ser7-win11\Project\KAIT\hwpTest\input" # HWP 파일이 있는 폴더
|
||||
# output_folder = r"C:\Users\gzero-ser7-win11\Project\KAIT\hwpTest\output" # XML 파일을 저장할 폴더
|
||||
|
||||
|
||||
# output_folder = r"\hwp-output" # HWP 파일이 있는 폴더
|
||||
|
||||
Reference in New Issue
Block a user