Avatar ·

在Python中将列表写入txt文件

📁 python, 机器人, 人工智能

如何将函数运行结果写入txt文件?

f = open( '***.txt', 'w' )f.write( '??????' )f.close()