On Tue, 28 Sep 2010 02:12:55 am Joel Goldstick wrote: > a=[] > i=0 > for l in open("file.txt", "r"): > a[i]=l > i+=1
Did you try it before posting? -- Steven D'Aprano _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor