摘要: 1.文本颜色 格式:\033[显示方式;前景色;背景色m要打印的字符串\033[0m 2.format 格式 print("燃烧卡路里:", format(KaLuLi,'.2f')) print('{}的三次方为{:*^20}'.format(a,pow(a, 3))) print("\r{:^3 阅读全文
posted @ 2019-12-15 21:06 xdd1997 阅读(218) 评论(0) 推荐(0)
摘要: PyCharm+QTDesigner+PyUIC使用教程:https://www.cnblogs.com/lsdb/p/9122425.html python用pyinstaller生成exe时报错 TypeError: an integer is required (got type bytes) 阅读全文
posted @ 2019-12-15 12:57 xdd1997 阅读(230) 评论(0) 推荐(0)