Python 数组保存到文件

原文:https://www.cnblogs.com/cymwill/p/7069901.html

file=open('data.txt','w') 
file.write(str(list_data)); 
file.close() 

猜你喜欢

转载自www.cnblogs.com/guxingy/p/12205048.html