13 lines
403 B
Python
13 lines
403 B
Python
import json, sys
|
|
|
|
sys.stdout.reconfigure(encoding='utf-8')
|
|
|
|
with open('scratch/squashed_tables_in_text.json', 'r', encoding='utf-8') as f:
|
|
data = json.load(f)
|
|
|
|
maint_items = [d for d in data if '05_유지관리부문' in d['file']]
|
|
print(f"Total in 유지관리부문: {len(maint_items)}")
|
|
for item in maint_items:
|
|
print(f"\n=== {item['file']} L{item['line']} ===")
|
|
print(item['line_text'])
|