Getting TypeError in Changing file permissions

Jeff Epler jepler at
Fri Jul 22 21:50:41 CEST 2005

If you are using Unix, and all you have is the file object, you can use
    os.fchmod(outfile.fileno(), 0700)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <>

More information about the Python-list mailing list