l = []
for line in in_file:
l.append(line.rstrip().split(','))
a_file = open("sample.txt", "r")
list_of_lists = []
for line in a_file:
i=0
List=[""]
for Line in inFile:
List[i]=Line.split(",")
i+=1
print List
List = open("filename.txt").readlines()
my_list = [line.split(',') for line in open("filename.txt")]
l = []
for line in in_file:
l.append(line.split(','))
myFile= open( "SomeFile.txt", "r" )
for x in myFile:
print x
myFile.close()