As far as I'm aware, this is very normal. The file is being used by an application, so there is a lock on it.
Cheers Bernard On Apr 4, 2005 7:34 PM, Shidai Liu <[EMAIL PROTECTED]> wrote: > I found out in the following situation, it fails to work. > Say, 'somefile.csv' is opened by EXCEL, > >>> os.access('somefile.csv', os.W_OK) > True > >>> file('somefile.csv', 'w') > IOError: [Errno 13] Permission denied: 'somefile.csv' _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor