bionote.net

[Python] file로 읽은 것 한줄씩 루프처리하기


file handle로 받지 않고 sequence로 바로 저장해서 사용한다.
[CODE]db = open("file.txt",'r').readlines() for line in db: print line[/CODE]
2005/05/06 15:48 2005/05/06 15:48
top

TRACKBACK ADDRESS :: http://bionote.net/tt/blna999/trackback/28

Leave a comment..