f = open('파일이름.txt', 'r',-1, "utf-8")
lines=[]
while True:
line = f.readline()
if not line:
break
lines.append(line)
f.close()
f = open('파일이름.txt', 'r',-1, "utf-8")
lines=[]
while True:
line = f.readline()
if not line:
break
lines.append(line)
f.close()