[stdlib-sig] tkinter package idea
Ron Adam
rrr at ronadam.com
Wed Feb 20 22:42:23 CET 2008
Brett Cannon wrote:
> On Feb 20, 2008 5:14 AM, Ron Adam <rrr at ronadam.com> wrote:
>>
>> M.-A. Lemburg wrote:
>>> On 2008-02-20 11:05, Brett Cannon wrote:
>>>> 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.
>>> Hey, it's Py3k...
>> + 1
>>
>
> Is that for the removal or the package name of tk? Question applies to
> MAL as well as I forgot to ask that of him when he made the Py3K
> comment.
+1 on a tk package vs tkinter package. It's much shorter and most of the
modules are still spelled nearly the same.
TkMessageBox -> tk.messagebox
TkFileDialog -> tk.filedialog
>>>> So here is my current thinking:
>>>>
>>>> Tkinter -> tkinter.__init__
>> Possibly
>>
>> Tkinter -> tk.tkinter
>>
>> and have tk.__init__ import it with "from tk.tkinter import *"?
>
> I would rather do tk.inter than that amount of repetition in the
> package/module name.
Maybe it should be tk.interface?
Ron
More information about the stdlib-sig
mailing list