Difficult-Rocket/tests/test_json5.py

6 lines
124 B
Python
Raw Normal View History

2021-02-14 20:22:29 +08:00
import pprint
with open('sys_value/parts.json5', 'r+', encoding='utf-8') as view:
2021-02-14 20:22:29 +08:00
a = view.read()
2021-04-03 12:15:24 +08:00
pprint.pprint(a)