title: From backslash to slash (to create folders named with number)
body: <p>I had a bad problem with these two: "\" and "/" in Windows, obviously :\</p>
  
  <p>I need to replace <strong>all</strong> \ occurrence  in /, so I can use replace() because doesn't work with this "\6" for example.</p>
  
  <p>What I have to do? <strong>I want "only" use mkdir()</strong> to replicate a structure of folders (without files) from one location to another. So I use mainly os.walk() and mkdir(); everything work well till is found a folder named with numeber. Infact mkdir can do this:</p>
  
  <p>mkdir("C:\folder") and also mkdir("C:\newfolder") but NOT mkdir("C:\6") for example, because it would mkdir("C:/6").</p>
  
  <p>But I don't know how to pass to it a path with slash and not backslash, because, as I said, I don't write manually the path, but come from "dirname" of  os.walk().</p>
  
  <p>I know that exist os.path.normcase and os.path.normpath, but they convert forward slashes to backward slashes.</p>
  
  <p><strong>I need "only" to replicate a structure of folders, and unfortunately, many folders are named with number....What can I do?</strong></p>
  
  <p>Thank You Very Much</p>
  
  <p>P.S.: Path are not simple like example... a more realistic example could be "D:\main\folder\blue\sky\34"</p>