会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
simple_wxl
博客园
首页
新随笔
联系
订阅
管理
2019年1月29日
python多个分割符split字符串
摘要: python中string自带的split不支持多个分隔符同时切分,用正则 import re line='hello,world' lineLists = re.split('[,,.。??]',line.strip())
阅读全文
posted @ 2019-01-29 11:11 simple_wxl
阅读(13970)
评论(0)
推荐(0)
公告