core.py 文件源码

python
阅读 26 收藏 0 点赞 0 评论 0

项目:MPIS 作者: KernelPanicBlog 项目源码 文件源码
def show_help():
    clear()
    title_text_colour = db.get_config("title_text_colour")
    title_back_colour = db.get_config("title_back_colour")
    option_menu_colour = db.get_config("option_menu_colour")

    print(colorize.aplicar(1, title_text_colour, title_back_colour)
          + tr("Help") + colorize.reset())

    string = colorize.aplicar(1, option_menu_colour)
    string += "\n" + tr("You can select an option with "
                        "the given number or write 4 shortcuts:")
    string += "\n" + tr("back or b -> Return to the previous option.")
    string += "\n" + tr("help or h -> Show help.")
    string += "\n" + tr("exit or e or Ctrl+C -> Finish execution script.")
    string += "\n" + tr("Tasks or t -> Execute the tasks added to the list.")
    print(string + colorize.reset())

    pause("\n")
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号