摘要: python中string自带的split不支持多个分隔符同时切分,用正则 import re line='hello,world' lineLists = re.split('[,,.。??]',line.strip()) 阅读全文
posted @ 2019-01-29 11:11 simple_wxl 阅读(13943) 评论(0) 推荐(0) 编辑