yea i was able to import by capitalizing t...thank u so much but wats the reason behind they just changed it for the significance of each version ..is it that way?
On Wed, Jun 9, 2010 at 4:09 PM, Dave Angel <da...@ieee.org> wrote: > madhuri vio wrote: > >> 1) 2.6.2 (release26-maint, Apr 19 2009, 01:56:41) >> [GCC 4.3.3] >> >> >> >> > So you've got the wrong name for Tkinter. In version 2.x, you need > import Tkinter > > > 2)>>> import sys >> >> >>> print sys.path >>>>> >>>>> >>>> ['', '/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'] >> >> >> > You still haven't said where the installation is. But at least now you > know you should be looking for Tkinter.py > rather than tkinter.py > > >> > <snip> > > -- madhuri :)
-- http://mail.python.org/mailman/listinfo/python-list