title: Why would one use both, os.path.abspath and os.path.realpath?
body: <p>In multiple open source projects, I have seen people do <code>os.path.abspath(os.path.realpath(__file__))</code> to get the absolute path to the current file.</p>
  
  <p>However, I find that <code>os.path.abspath(__file__)</code> and <code>os.path.realpath(__file__)</code> produce the same result. <code>os.path.abspath(os.path.realpath(__file__))</code> seems to be a bit redundant.</p>
  
  <p>Is there a reason people are using that?</p>