Skip to content

Instantly share code, notes, and snippets.

@wikibook
Last active November 30, 2020 07:31
Show Gist options
  • Save wikibook/3fba3ae4a1db1b9ccf5fe091305ab5d3 to your computer and use it in GitHub Desktop.
Save wikibook/3fba3ae4a1db1b9ccf5fe091305ab5d3 to your computer and use it in GitHub Desktop.
from pathlib import Path
input_folder = 'C:/myPyExcel/data/ch07/sales_data/input' # 원본 데이터 폴더
raw_data_dir = Path(input_folder)
excel_files = raw_data_dir.glob('상반기_제품_판매량_*') # 폴더 내 데이터 파일 이름
for excel_file in excel_files:
print(excel_file) # 원본 데이터 파일 경로 출력
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment