Load executable code from a URL or a path

def load_code(name, base_path=None, recurse=False):
    """Load executable code from a URL or a path"""
    if '/' in name:
        return load_location(name, base_path, module=False)

    return importer.import_code(name, base_path, recurse=recurse)