各位帮我看看 是否有BUG
zhanghao=list(open("zhanghao.txt","r",encoding="utf-8"))ezh=list(open("ezh.txt","r",encoding="utf-8"))
for idx,x in enumerate(ezh):
lst=[]
for item in zhanghao:
lst.append(item)
with open ("./data/"+x[:-1]+r".dd","w",encoding="utf-8")as fd:
fd.writelines(lst)
print("over........")
重点: for item in zhanghao: 这句就是要把ZHANGHAO.TXT里面的文本以120行为单位 均匀的劈开,
不知道是否有漏网之鱼
页:
[1]