Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)
Loads an .ini into self.data.

src/g/r/gramps-3.4.2/src/config.py   Gramps(Download)
def load(filename=None, oldstyle=False):
    """ Module shortcut to load an INI file into config data """
    return CONFIGMAN.load(filename, oldstyle)
def emit(key):
        # read it in old style:
        logging.warning("Importing old key file 'keys.ini'...")
        CONFIGMAN.load(os.path.join(const.HOME_DIR, "keys.ini"),
        logging.warning("Done importing old key file 'keys.ini'")
config = CONFIGMAN