Bootstrap

python 判断字符串是否包含中文

def contains_chinese(str_info):
    for item in str_info:
        if '\u4e00' <= item <= '\u9fff':
            return True
    return False
;