File handle not being released by close

Richard Brodie R.Brodie at rl.ac.uk
Mon Jul 30 10:45:22 EDT 2007


<bg_ie at yahoo.com> wrote in message 
news:1185806160.161748.58910 at d55g2000hsg.googlegroups.com...

> I'm guessing the garbage collector is causing the file to be written,
> but shouldn't close do this?

Only if you call it ;) 





More information about the Python-list mailing list