Saturday, February 1, 2014

Read File in array line by line in Python

lines = tuple(open(filename, 'r'))

for line in lines:
    print line


No comments:

Post a Comment