[stdlib-sig] tkinter package idea

Brett Cannon brett at python.org
Wed Feb 20 11:05:51 CET 2008


While I would rather have a tk package (heck, I would be fine with
ditching Tkinter entirely, but I really don't see that happening), but
the Tkinter name is so wide-spread I don't think that is reasonable.
So here is my current thinking:

Tkinter -> tkinter.__init__
Tix -> tkinter.tix
turtle -> tkinter.turtle
tkSimpleDialog -> tkinter.simpledialog
tkMessageBox -> tkinter.messagebox
tkFont -> tkinter.font
tkFileDialog -> tkinter.filedialog
Tkdnd -> tkinter.dnd
Tkconstants -> tkinter.constants
tkCommonDialog -> tkinter.commondialog
tkColorChooser -> tkinter.colorchooser
SimpleDialog -> tkinter.simpledialog
ScrolledText ->tkinter.scrolledtext
FixTk -> tkinter._fix
FileDialog -> tkinter.filedialog
Dialog -> tkinter.dialog
Canvas -> tkinter.canvas

I know Guido has said he doesn't like stuffing a bunch of stuff into
the __init__ of  a package, but considering none of the other modules
are worth anything without the main Tkinter module anyway I don't see
any issues here.

-Brett


More information about the stdlib-sig mailing list