Fab86 wrote:
Is there another way rather than closing the file? Is it possible to delete all within the file? Thanks
Delete the old file then opening (and creating) it again is the easiest way? If you need the data from the old file, you can rename the old file and reopen (and create) a new file in place of it.
-- http://mail.python.org/mailman/listinfo/python-list