import unicodedata text=unicodedata.normalize('NFKC',text)参考https://blog.csdn.net/qq_26870933/article/details/83059551