guimatheus92 / How-to-use-ConfigParser-in-Python

With this Python module, you can load a separate file with .ini extension.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to use ConfigParser in Python

With this Python module, you can load a separate file with .ini extension. A document repository can also be found in my profile article at Medium.


The first step is to install configparser module on Python:

 pip install configparser 

The second step is to change your .ini file with the variables you need

If you want, you can change the folder where you want to upload your .ini file

config.read(r'EnvVariables.ini')

About

With this Python module, you can load a separate file with .ini extension.


Languages

Language:Python 100.0%