会员
众包
新闻
博问
AI培训
云市场
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
BuFFERer
博客园
首页
新随笔
联系
订阅
管理
2020年4月25日
python里的正则
摘要: python里面使用正则表达式主要是依靠re模块,会使处理字符串变得特别方便快捷 正则表达式语法 import re str = "abcdefg123456abcdef" a = re.search('123. ',str) print(a) import re str = "abcdefg123
阅读全文
posted @ 2020-04-25 21:46 BuFFERer
阅读(279)
评论(0)
推荐(0)
编辑
公告