title: Python Tkinter throwing Tcl error
body: <p>I am learning basic GUI in Python, and I came across a sample example to read file name from file explorer on <a href="https://stackoverflow.com/questions/3579568/choosing-a-file-in-python-with-simple-dialog%22Stackoverflow%22">Stack Overflow</a>.</p>
  
  <pre><code>from Tkinter import Tk
  from tkFileDialog import askopenfilename
  Tk().withdraw() # we don't want a full GUI, so keep the root window from appearing
  filename = askopenfilename() # show an "Open" dialog box and return the path to the selected file
  print(filename)
  </code></pre>
  
  <p>This particular script is working fine when I am trying to run it in IDLE, but the same is not running if I am trying from command prompt in windows 7.</p>
  
  <p>Python Version: 2.7. Here is the output error which I get.</p>
  
  <pre><code>&gt;&gt;&gt; from Tkinter import Tk
  &gt;&gt;&gt; from tkFileDialog import askopenfilename
  &gt;&gt;&gt; Tk().withdraw()
  Traceback (most recent call last):
  File "&lt;stdin&gt;", line 1, in &lt;module&gt;
  File "C:\Python27\Lib\lib-tk\Tkinter.py", line 1685, in __init__
  self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
  _tkinter.TclError: Can't find a usable init.tcl in the following directories:
  C:/Python27/lib/tcl8.5 D:/PyProj/lib/tcl8.5 D:/lib/tcl8.5 D:/PyProj/library D:/library D:/tcl8.5.2/library D:/tcl8.5.2/library
  
  This probably means that Tcl wasn't installed properly
  </code></pre>
  
  <p>Any pointer to what I am missing here can be of great help.</p>