View Single Post
  #7  
Old 07-23-2010, 08:28 AM
TarkaDahl TarkaDahl is offline
Member
 
Join Date: Mar 2010
Posts: 59
Hi nige777

This is what i use and it seems to work

Code:
	infile = open(file,"r")
	for line in infile.readlines(): 
		#do stuff
	infile.close()
Thanks
Reply With Quote