13 lines
388 B
Python
13 lines
388 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)
|
|
|
|
arch_items = [d for d in data if '03_건축부문' in d['file']]
|
|
print(f"Total in 건축부문: {len(arch_items)}")
|
|
for item in arch_items:
|
|
print(f"\n=== {item['file']} L{item['line']} ===")
|
|
print(item['line_text'])
|