[Tkinter-discuss] Where is tkinter.py
Ned Deily
nad at acm.org
Sun Dec 22 02:45:38 CET 2013
In article <52B63C0F.2080205 at ncf.ca>,
Pierre Dagenais <pierre.dagenais at ncf.ca> wrote:
> I'm new at this stuff and I'm trying to understand what I'm doing! I
> thought that when I executed "tkinter import" a file called tkinter.py
> (a class) would be loaded for execution. Except when I search my system,
> Ubuntu 12.04, all I find is Tkinter.py in the 2.7 directory, python3.3
> has no equivalent tkinter.py?
> Can somebody explain?
Ubuntu chooses to package tkinter separately from Python, giving you the
option to not have to pull in Tcl, Tk, and all of their dependencies if
you don't need them. Try installing the python3-tk package, for example:
sudo apt-get install python3-tk
--
Ned Deily,
nad at acm.org
More information about the Tkinter-discuss
mailing list