【Python】re.error: bad escape \s at position 0

import re报错
re.error: bad escape \s at position 0

解决办法:
使用regex代替re。即

import regex as re

猜你喜欢

转载自blog.csdn.net/weixin_46032860/article/details/120558799
今日推荐