def readSettingsFromModule(self, mod, ignoreUnderscored=True):
        S = {}
        attrs = vars(mod)
        for k, v in attrs.iteritems():
            if (ignoreUnderscored and k.startswith('_')):
                continue
            else:
                S[k] = v
        return S
Create object from path.
dataset/ETHPy150Open binhex/moviegrabber/lib/site-packages/Cheetah/SettingsManager.py/_SettingsCollector.readSettingsFromModule--crossover with--dataset/ETHPy150Open ryan-roemer/django-cloud-browser/cloud_browser/cloud/fs.py/FilesystemObject.from_path