MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library. ''' import sys import os from SettingFileReader import * # main if __name__ == '__main__': # gives priority to local libs sys.path.insert(0, "./lib/python") # cleaning terminal os.system('cls' if os.name == 'nt' else 'clear') print( "\n------------------------ BLANK_PY -----------------------------------------\n" ) # loading a setting from the setting file settings = SettingFileReader() someSetting = settings.getSetting("group2", "param1") print(someSetting) # you want to update a param in the setting.ini file? no problem settings.setSetting("group2", "param3", "leParam3")