Files
spider-ctext/佩文韵府/check_v2.py
2026-03-22 16:18:35 +08:00

8 lines
233 B
Python

import json
with open('peiwenyunfu_v2.json', 'r', encoding='utf-8') as f:
data = json.load(f)
for k in ['𩅰', '', '', '']:
print(f"Rhyme: {k}")
print(json.dumps(data.get(k, {}), ensure_ascii=False, indent=2))