def test2():
a = [['一','一','二'],['一','二','三']]
for docno, document in enumerate(a):
print docno,','.join(document)
counter = defaultdict(int)
for w in sum(a,[]):
counter[w if isinstance(w, unicode) else unicode(w, 'utf-8')] += 1
print counter
print iteritems(counter)
print sum(itervalues(counter))
result = sorted(iteritems(counter), key=lambda d:d[1], reverse = True)
print result
服务器托管,北京服务器托管,服务器租用 http://www.fwqtg.net
机房租用,北京机房租用,IDC机房托管, http://www.fwqtg.net
插件: Keil Assistant 管理->拓展设置->然后填入位置 点击出现的KEIL UVISION PROJECT 后的东西 打开项目 完成服务器托管,北京服务器托管,服务器租用 http://www.fwqtg.net 机房租用,北京机房…