摘要:
from collections import Counter f=open('test.txt','r') txt=f.read() new_txt=txt.split() result=Counter(new_txt) print(result) print(result.most_common(10)) f.close() 阅读全文
posted @ 2017-04-07 11:10
simon930
阅读(265)
评论(0)
推荐(0)
浙公网安备 33010602011771号