/auto_docs

automatically generates a PDF file by putting data (CSV) into a Korean document (HWP).

Primary LanguagePython

auto_docs

automatically generates a PDF file by putting data (CSV) into a Korean document (HWP).

출결 서류가 너무 많아서 HWP 자동화 코드를 생성했습니다.

환경설정이 귀찮으실듯 하여 exe파일도 함께 배포합니다.(려고 했지만 용량이 커서 안올라가네요..)

업데이트

  • 기존 파일명을 이름으로 지정하던 코드를 수정 -> 첫번째 필드로 이름을 지정

의존성(Dependencies)

pandas: Used for data manipulation and analysis. Pandas Documentation

pywin32: Provides access to many of the Windows APIs from Python. PyWin32 Documentation

설치방법(Installation Steps)

이 프로젝트를 시작하려면 먼저 다음 명령을 사용하여 리포지토리를 복제합니다:

To get started with this project, first clone the repository using the following command:

git clone https://github.com/jkf87/auto_docs.git

다음 명령을 사용하여 필요한 패키지를 설치합니다

Install the required packages using the following command:

pip install -r requirements.txt

기본 사용법

CSV 파일 내에 있는 첫번째 행의 이름과 HWP 파일 내에 누름틀(Ctrl+K+E)의 이름과 갯수를 맞춰주세요.

예시)

첫행과 누름틀 이름을 매칭시켜주세요.

CSV 파일 내의 첫행 이름(데이터 라벨)

image

HWP 파일 내의 누름틀 이름(빨간색으로 된 부분)

image

이후 파이썬 파일(main.py)를 실행해주세요.

1.데이터 파일(CSV)을 첨부

image

2.문서 파일(HWP)를 첨부

image

3.모두 허용 누르기

image

4.문서 생성

출결서류생성

5.결과물 확인하기

image