<div>i wanted to ask you if one of you could help me to use Tkinter. i'm trying to just create a simple GUI for which I have provided the code for below.<br><br># Simple GUI<br># Demonstrates creating a window<br><br>from Tkinter import *<br>
<br># create the root window<br>root = Tk ()<br><br># modify the window<br>root.title("Simple GUI")<br>root.geometry("200x100")<br><br># kick off the window's event loop<br>root.mainloop()<br><br>i saved the file as both simple_gui.py and simple_gui.pyw. when i try to run simple_gui.pyw i don't get anything and when i try to run simple_gui.py i get the following:<br>
Traceback (most recent call last):<br><span>File "C:\Python-Study\Chapter10</span><span class="word_break"></span>\simple_gui.py", line 4, in <module><br>ImportError: No module named Tkinter<br><br>i tried to google search this and there were some threads that were saying to install tcl but that does not work. I did check the Lib directory under the Python directory and I did not see a Tkinter module anywhere which I think is the problem. Do you know how I would go about with getting this module and if that is not the problem or if you think it might be caused by something else, can you please give me some guidance? i even reinstalled python 3.1 which i got from <a href="http://www.python.org/">www.python.org</a>.  i still do not see the Tkinter module in the lib directory.  thank you for all your help. </div>

<div><br>manzur</div>