[Tkinter-discuss] from where can I download and install ttk?

Guido Carballo-Guerrero charras at me.com
Thu Apr 22 15:22:54 CEST 2010


 Michale, thank you very much. In case anybody else have problems with this, here is what I did to have ttk working:

1. I just download ttk from here:

http://pypi.python.org/pypi/pyttk  

2. After downloading the file, decompress it.
3. Double click in the setup.py file, which create the ttk.pyc, and copy both, the ttk.py and ttk.pyc into %Python%\Lib\lib-tk

After that one should be able to use the ttk modules.

Guido 

On Wednesday, April 21, 2010, at 12:34AM, "Michael Lange" <klappnase at web.de> wrote:
>Hi,
>
>On Tue, 20 Apr 2010 14:41:11 -0700
>Guido Carballo-Guerrero <charras at me.com> wrote:
>
>> Hello, I have install in my computer Python 2.6.5, but I just realize
>> that Tkinter for this version don't have ttk install. Does anybody
>> know from where can I download ttk to install it.
>> 
>
>ttk is in a separate python module, I am not sure if this is already
>included in your version. You can try this with an "import ttk"
>statement, if this fails you can download the ttk module from here:
>< http://pypi.python.org/pypi/pyttk > and, after you installed it, you
>should be able to do something like:
>
>    from Tkinter import *
>    import ttk
>    root = Tk()
>    tree = ttk.Treeview(root)
>
>I hope this helps
>
>Michael
>
>
>


More information about the Tkinter-discuss mailing list