1)    2.6.2 (release26-maint, Apr 19 2009, 01:56:41) <br>[GCC 4.3.3]<br><br><br>2)>>> import sys<br>>>> print sys.path<br>['', '/usr/lib/python2.6', '/usr/lib/python2.6/plat-linux2', '/usr/lib/python2.6/lib-tk', '/usr/lib/python2.6/lib-old', '/usr/lib/python2.6/lib-dynload', '/usr/lib/python2.6/dist-packages', '/usr/lib/python2.6/dist-packages/PIL', '/usr/lib/python2.6/dist-packages/gst-0.10', '/var/lib/python-support/python2.6', '/usr/lib/python2.6/dist-packages/gtk-2.0', '/var/lib/python-support/python2.6/gtk-2.0', '/usr/lib/python2.6/dist-packages/wx-2.6-gtk2-unicode', '/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode', '/usr/local/lib/python2.6/dist-packages']<br>
>>> <br><br><br><div class="gmail_quote">On Wed, Jun 9, 2010 at 3:37 PM, Dave Angel <span dir="ltr"><<a href="mailto:davea@ieee.org">davea@ieee.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Note, I said "REPLY-ALL'.  By default a simple reply goes to the individual, and not to the list.  Make sure <a href="mailto:python-list@python.org" target="_blank">python-list@python.org</a> is in your "TO:" list.  I'm sending this back to the list, with my remarks at the end, since top-posting is inconsistent and confusing.<br>

<br>
madhuri vio wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
yea i have deleted all the files related to dat module and<br>
now when i try to execute it ,,it says<br>
<br>
python madhu.py<br>
Traceback (most recent call last):<br>
  File "madhu.py", line 4, in <module><br>
    import tkinter<br>
ImportError: No module named tkinter<br>
<br>
and it has already been installed...<br>
so i was wondering if there was any other way of importing tkinter module<br>
and where am i wrong..i am stuck;(<br>
<br>
On Wed, Jun 9, 2010 at 3:03 PM, Dave Angel <<a href="mailto:davea@ieee.org" target="_blank">davea@ieee.org</a>> wrote:<br>
<br>
<snip><br>
</blockquote>
<br>
Two questions:<br>
<br>
1) what version of Python ?  You're using the version 3 capitalization.  Might you have version 2.x of Python installed?<br>
<br>
   >>>>Tkinter has been renamed to tkinter in Python 3.0<br>
<br>
     import sys<br>
     print sys.version<br>
<br>
2) where is tkinter installed, and is it the right place for this instance of python?   You can see your Python's search path with the following:<br>
     import sys<br>
     print sys.path<br>
<br>
Generally, standard libraries are installed in the lib directory, and 3rd party libraries are installed in site-packages.<br>
<br>
<br>
DaveA<br>
</blockquote></div><br><br clear="all"><br>-- <br>madhuri :)<br><br>