Friday, 7 December 2012

Neat python file reading


with open("hello.txt") as f:
    for line in f:
        print line

No comments:

Post a Comment