1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
#!/usr/bin/env python config = { "log_name": "test", "log_dir": "test_logs", "log_to_console": False, "key1": "value1", "key2": "value2", "section1": { "subsection1": { "key1": "value1", "key2": "value2" }, "subsection2": { "key1": "value1", "key2": "value2" }, }, "opt_override": "some stuff", }