摘要: 这个脚本只支持俩个文件行数相同。逻辑是将俩文件保存到俩列表,通过行数循环,分别取出俩列表的每一行,相加,重新输出文件。file1path = '1createip.txt'file2path = '主机名list.txt'file_1 = open(file1path,'r')file_2 = op 阅读全文
posted @ 2019-10-28 11:01 Normanlin 阅读(604) 评论(0) 推荐(0) 编辑