title: Changing file permission in Python
body: <p>I am trying to change permission of a file access:</p>
  
  <pre><code>os.chmod(path, mode)
  </code></pre>
  
  <p>I want to make it read-only:</p>
  
  <pre><code>os.chmod(path, 0444)
  </code></pre>
  
  <p>Is there any other way make a file read-only?</p>