delete files/dirs with read-only mode

Fredrik Lundh fredrik at pythonware.com
Thu May 1 16:06:25 EDT 2003


Steven Taschuk wrote:

> And on Unixy systems, chmod.  I don't know offhand of a
> platform-independent way of removing the read-only attribute,
> sadly.

os.chmod(filename, 0666) tends to work on most platforms.

</F>








More information about the Python-list mailing list