Rich Text Text 类允许你用 color 和 style 来标注字符串 你可以把 Text 类看成是一个带有标记的文本区域的字符
Styles In various places in the Rich API you can set a “style” which defines the color of the text and various attributes such as bold, italic etc. A style may be given as
abc 抽象基类 Abstract Base Class 官方文档:https://docs.python.org/zh-
Console console 通常作为单例模式存在,所以你可以为 console 的配置专门创建一个文件 console.p