split根据多个条件切割

 
import re
re.split(r"[*×]",xg)  #这里是根据*或者x来分割的

 

posted @ 2019-05-21 11:56  乔儿  阅读(857)  评论(0编辑  收藏  举报