[Tkinter-discuss] How can I install or find ttk
Wayne Werner
waynejwerner at gmail.com
Tue Apr 20 19:38:42 CEST 2010
On Tue, Apr 20, 2010 at 9:31 AM, Guido Carballo-Guerrero <charras at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tkinter-discuss/attachments/20100420/37fff0ae/attachment.html>
More information about the Tkinter-discuss
mailing list