hmmm... ttk.py is a part of Python 2.6.2 (located in the same folder as Tkinter: %Python%\Lib\lib-tk\)
Regards, Igor Novikov sK1 Project http://sk1project.org On Tue, Apr 20, 2010 at 8:38 PM, Wayne Werner <waynejwer...@gmail.com>wrote: > On Tue, Apr 20, 2010 at 9:31 AM, Guido Carballo-Guerrero > <char...@me.com>wrote: > >> Hello, I want to use Treeview, and apparently this is part of ttk. I have >> Python 2.6.5 install in my computer, which is running Windows XP. The >> problem I have is that Python can't find ttk. When I do: >> >> >>> from Tkinter import ttk >> >> Traceback (most recent call last): >> File "<pyshell#11>", line 1, in <module> >> from Tkinter import ttk >> ImportError: cannot import name ttk >> >> I get the previous error. Can anybody tell me what is wrong? Or how can I >> use treeview. Maybe, somebody can even give me another option, instead of >> treeview, 'cause what I need is just display tables, but for what I have >> seen so far, treeview gives the better look option. >> > > From a quick google search it appears that ttk is only installed by default > with >= Python 3.1 > > Not sure what other options are out there, though. > > -Wayne > > _______________________________________________ > Tkinter-discuss mailing list > Tkinter-discuss@python.org > http://mail.python.org/mailman/listinfo/tkinter-discuss > >
_______________________________________________ Tkinter-discuss mailing list Tkinter-discuss@python.org http://mail.python.org/mailman/listinfo/tkinter-discuss