摘要: #示例代码如下: import logging import sys def logging_init(): logger = logging.getLogger() logger.setLevel(logging.INFO) file_handler = logging.FileHandler(" 阅读全文
posted @ 2023-03-02 14:32 心比天高xzh 阅读(41) 评论(0) 推荐(0)
摘要: 使用\033[3表示字体颜色,\033[4表示背景色。 示例 print("\033[31;1mhello") print("\033[32;1mhello") print("\033[33;1mhello") print("\033[34;1mhello") print("\033[35;1mhe 阅读全文
posted @ 2023-03-02 14:00 心比天高xzh 阅读(75) 评论(0) 推荐(0)