Make a path more "readable

def make_readable_path(path):
    """Make a path more "readable"""
    home = os.path.expanduser("~")
    if path.startswith(home):
        path = "~" + path[len(home):]

    return path