title: Why does python have os.path.curdir
body: <p><code>os.path.curdir</code> returns '.' which is totally truthful and totally worthless.  To get anything useful from it, you have to wrap it with <code>os.path.abspath(os.path.curdir)</code></p>
  
  <p>Why include a useless variable in the os.path module?  Why not have os.path.curdir be a function that does the os.path.abspath for you?</p>
  
  <p>Is there some historic reason for <code>os.path.curdir</code> to exist?</p>
  
  <p>Maybe useless is a bit harsh, but not very useful seems weak to describe this.
  <a href="https://i.stack.imgur.com/FqrIW.png" rel="noreferrer"><img src="https://i.stack.imgur.com/FqrIW.png" alt="enter image description here"></a></p>