write a config file
config['Paths'] = PATHS
with open(CONFIG_FILE, 'w', encoding='utf-8') as config_file: # encoding is important, otherwise the write method will fail with special characters
config.write(config_file)
config['Paths'] = PATHS
with open(CONFIG_FILE, 'w', encoding='utf-8') as config_file: # encoding is important, otherwise the write method will fail with special characters
config.write(config_file)
0 Comments