def display_path(path):
path = os.path.normcase(os.path.abspath(path))<EOL>if path.startswith(os.getcwd() + os.path.sep):<EOL><INDENT>path = '<STR_LIT:.>' + path[len(os.getcwd()):]<EOL><DEDENT>return path<EOL>
Gives the display value for a given path, making it relative to cwd
    if possible.