How to use the configparser module

Motivation Sometimes you need a configuration for your project to adapt to different environments. The easiest way is to alter some variables / constants in your program code. But Hold your horses. This isn’t always a good idea. What if you package your code into an executable with e.g. PyInstaller? Maybe the user of your…