Did I find the right examples for you? yes no

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)
Import a module by name

:param name: The name of the module.
:type name: str.
:returns: module -- the imported module.

        def import_by_name(name):
    """Import a module by name
    
        :param name: The name of the module.
        :type name: str.
        :returns: module -- the imported module.
    
    """
    __import__(name)
    return sys.modules[name]
        


src/m/d/md2slides-0.1/md2slides/md2slides.py   md2slides(Download)
import md2slides
from reloader import start_livereload
from util import import_by_name, extract_metadata, fetch_extras
 
MATHJAX_CONF = ("<script type=\"text/x-mathjax-config\">\n"
 
    """
    engine_module = import_by_name('md2slides.templates.{0}.{0}'.format(engine_name))
    for memeber_name, member in inspect.getmembers(engine_module, inspect.isclass):
        if issubclass(member, markdown.Extension):