Avatar ·

Python中列表写入TXT文件

📁 python, 机器人, 人工智能

实际上如何将函数的结果写入TXT文件?

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