<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def import_dotted_path(path):
 """ Takes a dotted path to a member name in a module, and returns the member after importing it. """

    # stolen from Mezzanine (mezzanine.utils.importing.import_dotted_path)
    try:
        module_path, member_name = path.rsplit(".", 1)
        module = import_module(module_path)
        return getattr(module, member_name)
    except (ValueError, ImportError, AttributeError) as e:
        raise ImportError('Could not import the name: {}: {}'.format(path, e))