'Import the module on demand and get the attribute.'

def __getattr__(self, name):

    if self.__lazymodule_loaded:
        raise AttributeError(name)
    if _debug:
        print(('LazyModule:    Module    load    triggered    by    attribute    %r    read    access' % name))
    module = self.__lazymodule_import()
    return getattr(module, name)
