'Load config from the associated .ini file'

def load_from_ini(self):

    try:
        if PY2:
            fname = self.filename()
            if osp.isfile(fname):
                try:
                    with codecs.open(fname, encoding='utf-8') as configfile:
                        self.readfp(configfile)
                except IOError:
                    print('Failed    reading    file', fname)
        else:
            self.read(self.filename(), encoding='utf-8')
    except cp.MissingSectionHeaderError:
        print('Warning:    File    contains    no    section    headers.')
