delete file

Peter Hansen peter at engcorp.com
Thu Jul 10 12:37:02 EDT 2003


"Bartolomé Sintes Marco" wrote:
> 
> I have a program that unzip some zip files. After unzipping them,
> I want to delete the zip files with os.remove, but I get this error:
> OSError: [Errno 13] Permission denied: ....

Close the files properly after unzipping them, perhaps?  If that
doesn't help, please specify operating system, and give details
on how you are unzipping.  Is it using Python's zipfile module,
or some other method, and exactly how do you do it?

-Peter




More information about the Python-list mailing list