I am trying to read data from a config file. First one is config file and next one is python file. But I am getting this error. How to resolve this?
status = active
id = 51362
pin = 1234
[client]
name = Mike
surname= Johns
profession = Intern
from configparser import ConfigParser
config = ConfigParser()
config.read('test1.ini')
print(config.sections())