原文:https://www.cnblogs.com/cymwill/p/7069901.html
file=open('data.txt','w') file.write(str(list_data)); file.close()