latools/helpers/config.py
def read_latoolscfg():
    """
    Reads configuration, returns a ConfigParser object.

    Distinct from read_configuration, which returns a dict.
    """
    config_file = pkgrs.resource_filename('latools', 'latools.cfg')
    cf = configparser.ConfigParser()
    cf.read(config_file)
    return config_file, cf
def read_latoolscfg():
    config_file = pkgrs.resource_filename('latools', 'latools.cfg')
    cf = configparser.ConfigParser()
    cf.read(config_file)
    return config_file, cf
def read_latoolscfg ( ) : config_file = pkgrs . resource_filename ( 'latools' , 'latools.cfg' ) cf = configparser . ConfigParser ( ) cf . read ( config_file ) return config_file , cf
Reads configuration, returns a ConfigParser object.

    Distinct from read_configuration, which returns a dict.
Reads configuration returns a ConfigParser object .