lightlab.util.config module¶
Summary¶
Exceptions:
InvalidOption |
|
InvalidSection |
Functions:
config_main |
|
config_save |
Save config to a file. |
get_config |
|
get_config_param |
|
parse_param |
|
print_config_param |
|
reset_config_param |
|
set_config_param |
|
validate_param |
|
write_default_config |
Data:
default_config |
dict() -> new empty dictionary dict(mapping) -> new dictionary initialized from a mapping object’s (key, value) pairs dict(iterable) -> new dictionary initialized as if via: d = {} for k, v in iterable: d[k] = v dict(**kwargs) -> new dictionary initialized with the name=value pairs in the keyword argument list.For example: dict(one=1, two=2). |
Reference¶
-
exception
InvalidSection[source]¶ Bases:
RuntimeError
-
exception
InvalidOption[source]¶ Bases:
RuntimeError