python3用print写数据到文件中 man = [\'a\',\'b\']man_file = open(\'man_data.txt\', \'w\')//a模式为追加print(man,file=man_file)man_file.close() 相关文章: