Changing File Permissions

Justin Johnson justinjohnson at
Fri Jun 13 19:48:56 CEST 2003


I'm trying to remove a file on a win2k box, but the readonly bit is set,
so I get an exception trying to os.remove it.  I'd prefer if I didn't
have to run an attrib -r command, and write something a little more
platform independent.  Is there some sort of chmod method that would
handle this?

Any help is appreciated.

More information about the Python-list mailing list