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+=1Did you try it before posting? -- Steven D'Aprano _______________________________________________ Tutor maillist - [email protected] To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor
