How to use a YAML as a config file with python. ... import yaml def load_config(config_file): with open(config_file, 'r') as stream:.
確定! 回上一頁