title: Why does Tkinter's askdirectory() return forward slashes on Windows?
body: <p>Setup: Windows 7</p>
  
  <p>Python Version: 3.3</p>
  
  <p>I'm making a crossplatform application, and I have the user give a directory using the <code>askdirectory()</code> method in Tkinter's <code>tkinter.filedalog.askdirectory</code> module. This works fine, except for some reason on Windows it's giving me forward slashes. </p>
  
  <p>Windows uses backslashes, not forward slashes, so when I try to save a text file with native file slashes (config file stores the directory so it has an ending slash I have to add), it looks goofy:</p>
  
  <pre><code>F:/Pictures/Wallpapers\
  </code></pre>
  
  <p>The code I use to put the native slash is just <code>os.sep</code>, which is the current system's native directory separator, which is different on *nix and windows. </p>
  
  <pre><code>    def getDownloadPath(self):
         pathdir=askdirectory()
         if pathdir=='':
             return #cancel
         pathdir+=os.sep
         self.download_location.delete(0,END)
         self.download_location.insert(0,pathdir)
  </code></pre>
  
  <p>Is there a reason the folder chooser doesn't return native slashes? I googled around and saw no answers. </p>