'Reload an IPython extension by its module name.'

@line_magic
def reload_ext(self, module_str):

    if (not module_str):
        raise UsageError('Missing    module    name.')
    self.shell.extension_manager.reload_extension(module_str)
