hisscl/main.py
2024-11-09 00:35:05 -08:00

4 lines
124 B
Python

import hisscl
cfg = hisscl.loads('x "y" "z" { a = "b" }')
print(cfg['x'][0].labels) # ['y', 'z']
print(cfg['x'][0]['a']) # b