怎么把字典类型写到CSV文件???
import csv with open('topic_clound.csv', 'w') as f: [f.write('{0} {1}\n'.format(key, value)) for key, value in Dist.items()]