def read(fname):
    return open(os.path.join(os.path.dirname(__file__), fname)).read()
def get(self, key, default=None):
        try:
            value = self[key]
        except KeyError:
            value = self._to_python(default)
        return value