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


Groups > comp.lang.python > #41323

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

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.mixmin.net!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <yoursurrogategod@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.008
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'example:': 0.03; '16,': 0.03; 'diff': 0.05; 'tkinter': 0.07; 'to:addr:comp.lang.python': 0.09; 'cc:addr:python-list': 0.10; '"python': 0.16; 'subject:simple': 0.16; 'text?': 0.16; 'wrote:': 0.17; 'url:view': 0.18; 'all,': 0.21; 'supposed': 0.21; 'cc:2**0': 0.23; 'programming': 0.23; 'absolute': 0.23; "i've": 0.23; 'cc:no real name:2**0': 0.24; 'second': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'looks': 0.26; 'am,': 0.27; 'language.': 0.27; 'chris': 0.28; "i'm": 0.29; 'error': 0.30; 'code': 0.31; 'getting': 0.33; 'received:google.com': 0.34; 'wrong': 0.34; 'done': 0.34; 'same.': 0.35; 'text.': 0.35; 'doing': 0.35; 'subject:?': 0.35; 'received:209.85': 0.35; 'add': 0.36; 'but': 0.36; 'url:org': 0.36; 'why': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'page': 0.38; 'little': 0.39; 'application': 0.40; 'most': 0.61; 'first': 0.61; 'more': 0.63; 'become': 0.65; 'subject:this': 0.84; '2013': 0.84; 'acquainted': 0.84; 'book:': 0.91
X-Received by 10.49.85.35 with SMTP id e3mr886409qez.7.1363446886409; Sat, 16 Mar 2013 08:14:46 -0700 (PDT)
Newsgroups comp.lang.python
Date Sat, 16 Mar 2013 08:14:46 -0700 (PDT)
In-Reply-To <mailman.3364.1363446513.2939.python-list@python.org>
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=131.109.225.38; posting-account=AvekzAoAAABj-TclKcOWQmXwA49MFPGX
References <faa34261-957e-4011-8399-616da73e7a36@googlegroups.com> <mailman.3364.1363446513.2939.python-list@python.org>
User-Agent G2/1.0
X-Google-Web-Client true
X-Google-IP 131.109.225.38
MIME-Version 1.0
Subject Re: What am I doing wrong in this simple tkinter example?
From "Yves S. Garret" <yoursurrogategod@gmail.com>
To comp.lang.python@googlegroups.com
Content-Type text/plain; charset=ISO-8859-1
Cc python-list@python.org
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>
Message-ID <mailman.3370.1363451993.2939.python-list@python.org> (permalink)
Lines 58
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1363451993 news.xs4all.nl 6924 [2001:888:2000:d::a6]:46446
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:41323

Show key headers only | View raw


On Saturday, March 16, 2013 11:08:24 AM UTC-4, Chris Angelico wrote:
> On Sun, Mar 17, 2013 at 1:53 AM, Yves S. Garret
> 
> <your...@gmail.com> wrote:
> 
> > Hi all, I'm well into "Python Programming for the Absolute Beginner" in order to
> 
> > become more acquainted with the language.  However, when I got to page 304 and
> 
> > did my first example:
> 
> >
> 
> > http://bin.cakephp.org/view/1107093008
> 
> >
> 
> > And this is the error that I'm getting:
> 
> >
> 
> > http://bin.cakephp.org/view/399711843
> 
> >
> 
> > This is the code that came with the book:
> 
> >
> 
> > http://bin.cakephp.org/view/514822432
> 
> >
> 
> >
> 
> > What I don't understand is, why am I getting that error?  I've done diff -w
> 
> > and the code looks for the most part the same.  What am I doing wrong when I
> 
> > put the application together?
> 
> 
> 
>     self.secret_txt.delete(0.0, END)
> 
>     self.secret_txt.delete(0.0, message)
> 
> 
> 
> Is the second one supposed to be adding text? I'm not familiar with
> 
> tkinter but that's the line with the error, and it looks a little odd.
> 
> 
> 
> ChrisA

Yes, the second line is supposed to add the text.

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