环境python3.6 合并前第一个文件和第二个文件 代码 file1 = open(my.txt,r) file2 = open(ids.txt,r) file1_lists =file1.readlines() file2_lists =file2.readlines() file3_list = [] file4_list = [] for i in file1_lists: temp_list = i.split() file3_list.append(str(temp_list[0])) # print(len(file3_list)) for i in