摘要: 代码实现功能: 运行代码,输入合法算术表达式,返回计算结果(在python终端中,能够算出结果的算术表达式,都支持) 阅读全文
posted @ 2018-08-13 17:27 糖醋干豆腐 阅读(430) 评论(2) 推荐(0) 编辑
摘要: python正则表达式 re模块提供正则表达式操作 re模块中常用方法: match search findall finditer sub match search findall finditer sub re.match(pattern, string, flags=0) 根据正则表达式pat 阅读全文
posted @ 2018-08-13 17:16 糖醋干豆腐 阅读(139) 评论(0) 推荐(0) 编辑