Pragmatic Python
Pages
Home
Data Structures & Algos
Data Science & ML
Online Courses
Project Euler
Python Challenge
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
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment