import cPickle as p
g=p.load(file(r'D:\0_500_my\VITdata\vocabularystatistics.dat'))
f=p.load(file(r'D:\0_500_my\VITdata\infoGain.dat'))
fid=file('2.txt','a')
for key,val in g.iteritems():
    print >>fid, '%s,%s'%(key,val)
    fid.flush()
fid.close()
   
posted on 2010-08-14 16:16  finallyly  阅读(2593)  评论(0编辑  收藏  举报