6 lines
168 B
Python
Executable file
6 lines
168 B
Python
Executable file
import pytoml as toml
|
|
|
|
# read config in TOML format (https://github.com/toml-lang/toml#toml)
|
|
with open('config.toml') as configfile:
|
|
config = toml.load(configfile)
|