def build_screen_usage_list():
    """
    Builds a simple string with a list of all available screens,
    to be used in usage() methods.
    """
    screens = get_available_screens()
    screen_space = max([len(s().name) for s in screens])

    return '\n '.join([''.join([s().name, ' ',
                        ' ' * (screen_space - len(s().name) + 1),
                        s().description]) for s in get_available_screens()])
dataset/ETHPy150Open brunobraga/termsaver/termsaverlib/screen/__init__.py/build_screen_usage_list/original