Python Language The os Module Change permissions on a file


Example

os.chmod(path, mode)

where mode is the desired permission, in octal.