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


Groups > comp.lang.python > #41316

Re: What am I doing wrong in this simple tkinter example?

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.072
X-Spam-Evidence '*H*': 0.86; '*S*': 0.00; 'clear.': 0.16; 'fine.': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'iteration,': 0.16; 'job!': 0.16; 'subject:simple': 0.16; 'wrote:': 0.17; 'version.': 0.17; 'discussion': 0.20; 'posted': 0.22; 'example': 0.23; 'header:In-Reply-To:1': 0.25; 'am,': 0.27; 'message-id:@mail.gmail.com': 0.27; 'lines': 0.28; 'checked': 0.30; 'defining': 0.33; 'problem': 0.33; 'to:addr:python-list': 0.33; 'version': 0.34; 'received:google.com': 0.34; 'subject:?': 0.35; 'received:209.85': 0.35; 'there': 0.35; 'should': 0.36; 'itself': 0.37; 'two': 0.37; 'previous': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'to:addr:python.org': 0.39; 'perfect': 0.63; 'special': 0.73; 'subject:this': 0.84; '2013': 0.84; 'difference.': 0.84; 'secret.': 0.91
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=BofbJiDpfSv+NK1MNNIP9fiv4+CtjzzyTR10q7/gBEo=; b=EFOordZSrBX/fnigz1ix/X9jaMZI4pdJL0wCiH8baf6X0KEuq9gDtD0iZ1zjXkRO0X 1p8PyhyG/d+Zj/zG3nuOKWqe6tV3wsB2iCMMFky5ZYvHSWKOqDdIo5dgtfmnqxA6cUYH QxQkBjgSW6DC/S1RoJsOj1wD1j1btblL/zWZlKdFQYbiSlOvZ0t2JZLkuzAAyI516nqf ZaPMuVepFAJNhrUoUInzUINDC+H+nwDB/1DHeNR0bc7LE9QPOwqzfsxV4U8JKD7krPie H2qvdRUPiis/pppgMOFY6vGkKU4fArwA5CMzeyBA8HeVwX1FmvOWADOVC0T0Uo6IiDfu cnwg==
MIME-Version 1.0
X-Received by 10.52.37.109 with SMTP id x13mr10567275vdj.10.1363447388033; Sat, 16 Mar 2013 08:23:08 -0700 (PDT)
In-Reply-To <1e8ab690-c0e8-464a-ab13-cd109fc15327@googlegroups.com>
References <faa34261-957e-4011-8399-616da73e7a36@googlegroups.com> <mailman.3365.1363446627.2939.python-list@python.org> <1e8ab690-c0e8-464a-ab13-cd109fc15327@googlegroups.com>
Date Sun, 17 Mar 2013 02:23:07 +1100
Subject Re: What am I doing wrong in this simple tkinter example?
From Chris Angelico <rosuav@gmail.com>
To python-list@python.org
Content-Type text/plain; charset=ISO-8859-1
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.3367.1363447390.2939.python-list@python.org> (permalink)
Lines 16
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1363447390 news.xs4all.nl 6860 [2001:888:2000:d::a6]:51794
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:41316

Show key headers only | View raw


On Sun, Mar 17, 2013 at 2:16 AM, Yves S. Garret
<yoursurrogategod@gmail.com> wrote:
> In the example that I have posted from the book it works just fine.

Yep, I just checked the book's version again and the difference is
clear. Check out the two lines I quoted in my previous post, and look
at the corresponding two lines in the book's version. You should see
the difference. :)

By the way, I like the choice of secret. It lends itself well to a
discussion of recursion - how do you live to 99? Live to 98, then be
careful. Etcetera. You need just one special case: How do you live to
1? Be born, then be careful. And there you have it, a perfect problem
for defining recursion vs iteration, as both can do the job!

ChrisA

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


Thread

What am I doing wrong in this simple tkinter example? "Yves S. Garret" <yoursurrogategod@gmail.com> - 2013-03-16 07:53 -0700
  Re: What am I doing wrong in this simple tkinter example? Chris Angelico <rosuav@gmail.com> - 2013-03-17 02:08 +1100
    Re: What am I doing wrong in this simple tkinter example? "Yves S. Garret" <yoursurrogategod@gmail.com> - 2013-03-16 08:14 -0700
      Re: What am I doing wrong in this simple tkinter example? Christian Gollwitzer <auriocus@gmx.de> - 2013-03-16 16:31 +0100
    Re: What am I doing wrong in this simple tkinter example? "Yves S. Garret" <yoursurrogategod@gmail.com> - 2013-03-16 08:14 -0700
  Re: What am I doing wrong in this simple tkinter example? Mitya Sirenef <msirenef@lightbird.net> - 2013-03-16 11:10 -0400
    Re: What am I doing wrong in this simple tkinter example? "Yves S. Garret" <yoursurrogategod@gmail.com> - 2013-03-16 08:16 -0700
      Re: What am I doing wrong in this simple tkinter example? Chris Angelico <rosuav@gmail.com> - 2013-03-17 02:23 +1100
        Re: What am I doing wrong in this simple tkinter example? "Yves S. Garret" <yoursurrogategod@gmail.com> - 2013-03-16 08:34 -0700
          Re: What am I doing wrong in this simple tkinter example? Chris Angelico <rosuav@gmail.com> - 2013-03-17 02:44 +1100
            Re: What am I doing wrong in this simple tkinter example? Neil Cerutti <neilc@norwich.edu> - 2013-03-19 14:11 +0000
        Re: What am I doing wrong in this simple tkinter example? "Yves S. Garret" <yoursurrogategod@gmail.com> - 2013-03-16 08:34 -0700
      Re: What am I doing wrong in this simple tkinter example? Mitya Sirenef <msirenef@lightbird.net> - 2013-03-16 11:48 -0400
    Re: What am I doing wrong in this simple tkinter example? "Yves S. Garret" <yoursurrogategod@gmail.com> - 2013-03-16 08:16 -0700

csiph-web