In message <[EMAIL PROTECTED]>, Max
Erickson wrote:

> James <[EMAIL PROTECTED]> wrote:
>
>> So my question is: how does one change a file's permissions
>> inside of python?
> 
> Assuming you want to operate on the output file:
> 
> import os
> os.chmod(path, 755)

Shouldn't that be

    os.chmod(path, 0755)

? Only 755 decimal is unlikely to be a meaningful mode...
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to