4 lines
124 B
Python
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 |