When I saw "Permission denied", this was my suspicion. And I think you are very right. I have just gone back and tried writing to a file outside of C:, in this case C:/output/, and it seems to work again.
Would I be right in guessing there is no way around this? Dan -- http://mail.python.org/mailman/listinfo/python-list