-------把txt文件读取到list中------- txt文件如下: 读入list中Python代码: 如果需要展示每一行数据,可以使用for循环: for name_list in result: 将list数据写入txt文件: 相关文章: 2021-06-19 2022-12-23 2022-12-23 2022-12-23 2022-12-23 2021-08-05 2021-07-24 2022-12-23