Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #15647

Re: Use and usefulness of the as syntax

From Terry Reedy <tjreedy@udel.edu>
Subject Re: Use and usefulness of the as syntax
Date 2011-11-13 17:16 -0500
References <4ebe5ee6$0$25872$426a74cc@news.free.fr> <4EBE69DA.2060501@tim.thechases.com> <mailman.2671.1321102090.27778.python-list@python.org> <54b0617a-3456-4878-819c-f79b388232ea@u6g2000vbg.googlegroups.com>
Newsgroups comp.lang.python
Message-ID <mailman.2686.1321222611.27778.python-list@python.org> (permalink)

Show all headers | View raw


On 11/13/2011 3:55 AM, 0xfn wrote:
> On Nov 12, 7:48 am, Rafael Durán Castañeda
> <rafadurancastan...@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

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Use and usefulness of the as syntax candide <candide@free.invalid> - 2011-11-12 12:56 +0100
  Re: Use and usefulness of the as syntax Chris Angelico <rosuav@gmail.com> - 2011-11-12 23:27 +1100
  Re: Use and usefulness of the as syntax Arnaud Delobelle <arnodel@gmail.com> - 2011-11-12 12:29 +0000
    Re: Use and usefulness of the as syntax candide <candide@free.invalid> - 2011-11-17 16:48 +0100
      Re: Use and usefulness of the as syntax alex23 <wuwei23@gmail.com> - 2011-11-17 18:38 -0800
  Re: Use and usefulness of the as syntax Tim Chase <python.list@tim.thechases.com> - 2011-11-12 06:43 -0600
  Re: Use and usefulness of the as syntax Rafael Durán Castañeda <rafadurancastaneda@gmail.com> - 2011-11-12 13:48 +0100
    Re: Use and usefulness of the as syntax 0xfn <oleg.rimko@gmail.com> - 2011-11-13 00:55 -0800
      Re: Use and usefulness of the as syntax Terry Reedy <tjreedy@udel.edu> - 2011-11-13 17:16 -0500
  Re: Use and usefulness of the as syntax Tim Wintle <tim.wintle@teamrubber.com> - 2011-11-12 13:03 +0000
  Re: Use and usefulness of the as syntax Mel Wilson <mwilson@the-wire.com> - 2011-11-12 08:59 -0500
  Re: Use and usefulness of the as syntax candide <candide@free.invalid> - 2011-11-17 16:48 +0100

csiph-web