def abspath(path):
    if not isabs(path):
        if isinstance(path, unicode):
            cwd = os.getcwdu()
        else:
            cwd = os.getcwd()
        path = join(cwd, path)
    return normpath(path)

# realpath is a no-op on systems without islink support
Return the absolute version of a path
dataset/ETHPy150Open ctxis/canape/CANAPE.Scripting/Lib/os2emxpath.py/abspath