title: Python os.path.join on Windows
body: <p>I am trying to learn python and am making a program that will output a script.  I want to use os.path.join, but am pretty confused.  According to the <a href="http://docs.python.org/library/os.path.html" rel="noreferrer">docs</a> if I say:</p>
  
  <pre><code>os.path.join('c:', 'sourcedir')
  </code></pre>
  
  <p>I get <code>"C:sourcedir"</code>.  According to the docs, this is normal, right?</p>
  
  <p>But when I use the copytree command, Python will output it the desired way, for example:</p>
  
  <pre><code>import shutil
  src = os.path.join('c:', 'src')
  dst = os.path.join('c:', 'dst')
  shutil.copytree(src, dst)
  </code></pre>
  
  <p>Here is the error code I get:</p>
  
  <pre>
  WindowsError: [Error 3] The system cannot find the path specified: 'C:src/*.*'
  </pre>
  
  <p>If I wrap the <code>os.path.join</code> with <code>os.path.normpath</code> I get the same error.</p>
  
  <p>If this <code>os.path.join</code> can't be used this way, then I am confused as to its purpose.</p>
  
  <p>According to the pages suggested by Stack Overflow, slashes should not be used in join&mdash;that is correct, I assume?</p>