title: how do I get Tkinter askopenfilename() to open on top of other windows?
body: <p>I am running a script that prompts the user for a file.  There is no gui except for the file browser that opens up.  I have 2 options: browse for file, or select entire folder using <code>askdirectory()</code>.  The latter opens on top of all other windows, but the first one opens under everything, I have to minimize other windows to find it.  </p>
  
  <p>Here is the method I'm using for these operations</p>
  
  <pre><code>from Tkinter import Tk
  from tkFileDialog import askdirectory, askopenfilename
  
  root = Tk()
  root.withdraw()
  
  self.inpath = askdirectory()  # To open entire folder
  Path = askopenfilename()      # Open single file
  
  root.destroy()   # This is the very last line in my main script.
  </code></pre>
  
  <p>This is everything Tk related in my code. <code>askdirectory</code> opens on top, <code>askopenfilename</code> doesn't.</p>
  
  <p>Is there a way to force it to open on top?</p>