Posted: Wed May 11, 2022 11:42 am Post subject: reading qm.ini Python
Knight
Joined: 20 Sep 2001 Posts: 545 Location: Tampa
I have configuration files for my script. I am using configparser. Is there another parser for Python that would read the qm.ini file in the same manner?
I am using configparser to process a properties file. It looks for sections, by default, in the format of '[section]' The qm.ini is formatted as 'section:'. I have run into a configuration where you can change the section search by using REGEDIT. Trying to find more information on how I can change it to look for 'section:'
I searched again after I wrote this. there is this ConfigParser.SECTCRE in configparser for customizing the section search.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum