Read and write with Configparser

linkaiyi
Follow

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)
Object has 0 attachments

Was this article helpful?

This article is viewed 19 times!

Recent Viewed Articles

Related Articles

0 Comments

Leave a Comment

Support