>>> a='0000234230000'>>> ac=re.sub('^0+','',a)>>> ac'234230000'>>> ac=re.sub('0+','',a)>>> ac'23423'>>>
搜索
复制