When develop the server applications, you could encounter a problem for managing the configuration. This issue can be encountered in every place where configuration management is needed as well as server applications. 1. built-in data structure .1. Constant config.py # config.py DATABASE_CONFIG = { 'host': 'localhost', 'dbname': 'company', 'user': 'user', 'password': 'password', 'port': 3306 } main.py import pymysql import config def connect_db(dbname): if dbname != config.DATABASE_CONFIG['dbname']: raise ValueError("Couldn't not find