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


Groups > comp.lang.python > #36815

Re: Python modules

From Grant Edwards <invalid@invalid.invalid>
Newsgroups comp.lang.python
Subject Re: Python modules
Date 2013-01-14 19:48 +0000
Organization PANIX Public Access Internet and UNIX, NYC
Message-ID <kd1ndl$43u$1@reader1.panix.com> (permalink)
References <kd1667$k6$1@news1.carnet.hr> <mailman.502.1358175849.2939.python-list@python.org> <mailman.504.1358180885.2939.python-list@python.org>

Show all headers | View raw


On 2013-01-14, Rick Johnson <rantingrickjohnson@gmail.com> wrote:

> Only a fool would do "from Tkinter import *"[2].

> [2] With the exception of command line testing, learning, or playing.

I don't think those should be excepted. Habits acquired during
learning/playing will be continue when doing real work, and "Example"
code provided as part of lessons/tutorials _will_ get copied into real
programs.

IMO, tutorials that take shortcuts like "from Tkinter import *" are A
Bad Thing(tm).

When teaching somebody how to do something, don't show them the wrong
way do to something and then after they've learned that add "by the
way, don't actually do it that way".

-- 
Grant Edwards               grant.b.edwards        Yow! Your CHEEKS sit like
                                  at               twin NECTARINES above
                              gmail.com            a MOUTH that knows no
                                                   BOUNDS --

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


Thread

Python modules zoom <zoom@yahoo.com> - 2013-01-14 15:54 +0100
  Re: Python modules Dan Sommers <dan@tombstonezero.net> - 2013-01-14 15:01 +0000
    Re: Python modules zoom <zoom@yahoo.com> - 2013-01-14 16:03 +0100
  Re: Python modules Chris Angelico <rosuav@gmail.com> - 2013-01-15 02:04 +1100
    Re: Python modules Rick Johnson <rantingrickjohnson@gmail.com> - 2013-01-14 08:27 -0800
    Re: Python modules Rick Johnson <rantingrickjohnson@gmail.com> - 2013-01-14 08:27 -0800
      Re: Python modules Grant Edwards <invalid@invalid.invalid> - 2013-01-14 19:48 +0000

csiph-web