Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Ttk on python 2.7 [closed]

Tags:

python

tkinter

I just installed python 2.7 from the python website, and was surprised to find that ttk wasn't included. Did I make a mistake installing, or is ttk really not included in the standard release? Anyway, where can I get a copy of ttk to install in my python instalation.

Note: I also heard that the activestate release has ttk. Should I unistall and use that instead?

like image 432
Eric Pauley Avatar asked Nov 16 '10 03:11

Eric Pauley


1 Answers

I think you mean "ttk" not "tkk"

The following should solve your problems if this is the case:

from Tkinter import *
from ttk import *

for more about ttk and Tkinter in python2.7, reference: http://docs.python.org/library/ttk.html

like image 164
DavidJFelix Avatar answered Oct 03 '22 11:10

DavidJFelix