Configuration files and config parser

Configuration files are used by both users and programmers. They are usually used for storing your application’s settings or even your operating system’s settings. Python’s core library includes a module called configparser that you can use for creating and interacting with configuration files.

We’ll spend a few minutes learning how it works in this chapter.

Get hands-on with 1200+ tech skills courses.