📦 Initialize Geulbeot structure and merge Prompts & test projects
This commit is contained in:
17
02. Prompts/문서생성/codedomain/로그_파일을_Python_v01.py
Normal file
17
02. Prompts/문서생성/codedomain/로그_파일을_Python_v01.py
Normal file
@@ -0,0 +1,17 @@
|
||||
def extract_all_contents(file_path):
|
||||
print(f"로그: 파일을 읽는 중입니다 (전체 내용 모드)...")
|
||||
# 수식과 값을 동시에 비교하기 위해 data_only=False로 로드
|
||||
wb = openpyxl.load_workbook(file_path, data_only=False)
|
||||
|
||||
all_content_data = []
|
||||
|
||||
for sheet_name in wb.sheetnames:
|
||||
ws = wb[sheet_name]
|
||||
print(f"\n" + "="*60)
|
||||
print(f"▶ 시트 탐색 중: [ {sheet_name} ]")
|
||||
print("="*60)
|
||||
|
||||
# 시트의 모든 셀을 하나하나 검사
|
||||
for row in ws.iter_rows():
|
||||
for cell in row:
|
||||
value = ce
|
||||
Reference in New Issue
Block a user