def abspath(path):

        if path: # Empty path must return current working directory.
            try:
                path = _getfullpathname(path)
            except WindowsError:
                pass # Bad path - return unchanged.
        elif isinstance(path, unicode):
            path = os.getcwdu()
        else:
            path = os.getcwd()
        return normpath(path)

# realpath is a no-op on systems without islink support
Return the absolute version of a path.
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/ntpath.py/abspath