title: What is the difference between os.path.basename() and os.path.dirname()?
body: <p>What is the difference between <code>os.path.basename()</code> and <code>os.path.dirname()</code>?  </p>
  
  <p>I already searched for answers and read some links, but didn't understand. 
  Can anyone give a simple explanation?</p>