I am trying to open and read the value of .ini file without any sections or keys. It contains a single value. I tried to
import configparser cfg = configparser.ConfigParser() cfg.read('version.ini') value = cfg.get( what to add here?)
I am trying to open and read the value of .ini file without any sections or keys. It contains a single value. I tried to
import configparser cfg = configparser.ConfigParser() cfg.read('version.ini') value = cfg.get( what to add here?)