Re: [Tutor] windowsfiles permissions

2007-12-15 Thread Kirk Bailey
Found it. tested it. worked it. sgharinig it for otheers. # os.chmod(filename,stat.S_IREAD ) # print 'This page is now set to read only. Use WindowsExplorer to turn this off.' Let's me edit the terms and conditions page then set it to read only- thought others would also value a conveni

[Tutor] windowsfiles permissions

2007-12-15 Thread Kirk Bailey
So, in windows, when my wiki's editor saves a file, i want to have the option to set it to read only. In windows, how do i get python to set a file's permissions? -- Salute! -Kirk Bailey Think +-+ | BOX | +-+ knihT Fnord. __