Python 字符串只保留漢字

借鑑了 http://www.javashuo.com/article/p-tsxzzsgb-ms.htmlpython 這裏使用Python3.net def is_chinese(uchar): if uchar >= '\u4e00' and uchar <= '\u9fa5': return True else: return False
相關文章
相關標籤/搜索