def pretty_path(path, _home_re=re.compile('<STR_LIT>' + re.escape(os.path.expanduser('<STR_LIT>') + os.sep))):
path = format_filename(path)<EOL>path = _home_re.sub('<STR_LIT>' + os.sep, path)<EOL>return path<EOL>
Prettify path for humans, and make it Unicode.