File Manager in Tkinter

Eric Brunel eric.brunel at pragmadev.com
Wed Aug 11 03:24:46 EDT 2010


In article <770366ta10gk98vgd5n2tapl7ag6skaeaj at 4ax.com>, John wrote:
> My python is version 2.6.5.  Would you recomend I upgrade and if yes
> to which version?
> 
> 
> from tkinter import ttk
> 
> Traceback (most recent call last):
>   File "<pyshell#0>", line 1, in <module>
>     from tkinter import ttk
> ImportError: No module named tkinter

On Python 2.x, the module is called Tkinter with an uppercase T. It has 
been changed to tkinter with a lowercase t in Python 3.x for naming 
consistency reasons.



More information about the Python-list mailing list