title: Make Directory in python
body: <p>I want to make a directory in Python.</p>
  
  <p>Here is my code:</p>
  
  <pre><code>dl_path = "~/Downloads/PDMB"
  
  def main():
      if not os.path.exists(dl_path):
          print "path doesn't exist. trying to make"
          os.makedirs(dl_path)
  
  if __name__ == '__main__':
      main()
  </code></pre>
  
  <p>I want that pdmb be in Download folder in <code>$HOME</code> (by the way my OS is Ubuntu), but it makes Home/Downloads/pdmb in the same folder that my code is.</p>
  
  <p>what should I do?</p>