摘要: self.box = QMessageBox(QMessageBox.Warning, "温馨提示", "是否确定要食注")qyes = self.box.addButton(self.tr("确定"), QMessageBox.YesRole)qno = self.box.addButton(se 阅读全文
posted @ 2018-10-16 18:10 疯狂的骆驼 阅读(145) 评论(0) 推荐(0) 编辑
摘要: a = "123*"hm = a.replace('*', r"X")print(hm)"""运行结果:123X""" 阅读全文
posted @ 2018-10-16 13:14 疯狂的骆驼 阅读(94) 评论(0) 推荐(0) 编辑