Use and usefulness of the as syntax
Terry Reedy
tjreedy at udel.edu
Sun Nov 13 17:16:38 EST 2011
On 11/13/2011 3:55 AM, 0xfn wrote:
> On Nov 12, 7:48 am, Rafael Durán Castañeda
> <rafadurancastan... at gmail.com> wrote:
>> El 12/11/11 13:43, Tim Chase escribió:> I hate trying to track down variable-names if one did something like
>>
>>> from Tkinter import *
>>
>> +1
>
> Really, this questionable code is always mentioned as example in
> Tkinter tuts.
I see it is still in the 3.2 tkinter doc, near the top.
> IMHO much better is
>>>> import Tkinter as tk
My opinion also. I will think about changing it someday, but then all
the examples will need to be changed ;-). So it will not be trivial.
--
Terry Jan Reedy
More information about the Python-list
mailing list