text="那一大推乱码" 方案1
from collections import Counter print(Counter(text))
方案2
import string >>> filter(lambda x: x in string.letters, text) 'equality'