📦 Initialize Geulbeot structure and merge Prompts & test projects
This commit is contained in:
commit
555a954458
687 files changed
+205247
No files matched your search
@@ -0,0 +1,14 @@
|
||||
def extract_excel_logic(file_path):
|
||||
# 1. 수식을 가져오기 위한 로드 (data_only=False)
|
||||
print(f"로그: 파일을 읽는 중입니다 (수식 모드)...")
|
||||
wb_formula = openpyxl.load_workbook(file_path, data_only=False)
|
||||
|
||||
# 2. 결과값을 가져오기 위한 로드 (data_only=True)
|
||||
print(f"로그: 파일을 읽는 중입니다 (데이터 모드)...")
|
||||
wb_value = openpyxl.load_workbook(file_path, data_only=True)
|
||||
|
||||
extraction_data = []
|
||||
|
||||
for sheet_name in wb_formula.sheetnames:
|
||||
ws_f = wb_formula[sheet_name]
|
||||
ws_v = wb_value[sheet_name]
|
||||
Reference in new issue
Block a user