BTW I always found the Python docs' use of the phrase "open the file for updating" of no help. I just noticed that the PHP docs seem to provide superior descriptions (which are hopefully compatible with Python): <http://au.php.net/manual/en/function.fopen.php>