Quantcast
Channel: Active questions tagged config - Stack Overflow
Viewing all articles
Browse latest Browse all 5057

How to read ini file without sections or key, just value [duplicate]

$
0
0

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?)

Viewing all articles
Browse latest Browse all 5057

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>