摘要: import re s='='金'' #只保留金这个字 s=re.sub(r'\W','',s) #去掉金字 s=re.sub(r'\w','',s) 阅读全文
posted @ 2018-08-01 16:25 The_Chain 阅读(446) 评论(0) 推荐(0) 编辑