Peter Hansen wrote: > In my opinion, if the code fits on one screen and just reads stuff > from one file and, maybe, writes to another, you can safely and with ^^^^^^ > clean conscience ignore Mike's advice (but remember it for later!).
Remember, finalisers are not called when Python exits. So if you don't explicitly close the file you are *writing* to, it may not be flushed before being closed (by the OS because the process no longer exists). Tim Delaney -- http://mail.python.org/mailman/listinfo/python-list