【脚本】逐行读取txt文件
摘要:
file_name = "train_names.txt" video_names = [] with open(file_name,"r" ) as f : for line in f: video_names.append(line.strip("\n")) print(video_names) 阅读全文
posted @ 2023-10-08 16:40 MonsterPPPP 阅读(38) 评论(0) 推荐(0)
浙公网安备 33010602011771号