title: Tkinter askopenfilename() won't open
body: <p>I have a selection of excel data that I am analyzing, and have just recently added the ability for the user to open the file explorer and locate the file visually, as opposed to entering the file location on the command line. I <a href="https://stackoverflow.com/questions/3579568/choosing-a-file-in-python-with-simple-dialog">found this</a> question (and answer) to make the window appear, which worked for a while.</p>
  
  <p>I am still using the command line for everything except locating the file. Currently, this is a skeleton of what I have to open the window (nearly identical to the answer of the question linked above)</p>
  
  <pre><code>Tk().withdraw()
  data_file_path = askopenfilename()
  
  # other code with prompts, mostly print statements
  
  Tk().withdraw()
  drug_library_path = askopenfilename()
  </code></pre>
  
  <p>Once the code reaches the first two lines of code, the command line just sits with a blinking cursor, like it's waiting for input (my guess, for askopenfilename() to return a file location), but nothing happens. I can't <code>ctrl+C</code> to get out of the program, either.</p>
  
  <p>I have found <a href="https://stackoverflow.com/questions/22053760/open-file-dialog-freezes-after-tkinter-askopenfilename-method-is-called">this question</a>, which is close to what I'm looking for, but I'm on Windows, not Mac, and I can't even get the window to open -- most questions I see talk about not being able to close the window.</p>
  
  <p>Thanks for any help!</p>
  
  <p>Note: At this point in the program, no data from excel has been loaded. This is one of the first lines that is ran.</p>