title: How can I get the Unix permission mask from a file?
body: <p>How can I get a file's permission mask like 644 or 755 on *nix using python?</p>
  
  <p>Is there any function or class for doing that? Thank you very much!</p>