@staticmethod<EOL><INDENT>def showpath(path):<DEDENT>
try:<EOL><INDENT>retval = os.path.relpath(path, os.getcwd())<EOL><DEDENT>except ValueError:<EOL><INDENT>retval = path<EOL><DEDENT>else:<EOL><INDENT>if retval.startswith('<STR_LIT:..>'):<EOL><INDENT>retval = path<EOL><DEDENT><DEDENT>return retval<EOL>
Return path in form most convenient for user to read.

        Return relative path when input path is within the current working
        directory, otherwise return same (absolute) path passed in.

        :param path: file system path
        :type path: str or unicode
        :returns: file system path
        :rtype: str