python 判断汉字

def is_chinese(uchar): """判断一个unicode是不是汉字""" if uchar >= u'\u4e00' and uchar<=u'\u9fa5': return True else: return False
相关文章
相关标签/搜索