On 2003-05-07, John Hunter <jdhunter at ace.bsd.uchicago.edu> wrote: > for line in file('somefile.dat'): > print line Does this mean that the generator closes the file automatically when it reaches the end? -- Please don't send me private copies of your public answers. Thanks.