How to read a config file in Python
How to read a config file in Python: This article will help you to read config based on the environment. For example, If you have a python script which uses different database config for UAT and PROD. [PROD] host = “192.168.0.1” port = “12345” user = “PROD_SCHEMA” password = “Pwd1” service = “service_prd.service.com” [UAT] host…