title: Python: Compute relative path from one directory to another
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/7178001/how-to-calculate-relative-path-between-2-directory-path">How to calculate relative path  between 2 directory path?</a>  </p>
  </blockquote>
  
  
  
  <p>I need to compute the relative path from one directory to another (i.e. I set a path relative to the working directory, and want to compute the according relative path from any parent/subdir). What is a good way to do that in Python? I could not find much on the subject.</p>
  
  <p>Thanks!</p>