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?

Newsgroups comp.lang.python
Date 2013-03-16 08:14 -0700
References <faa34261-957e-4011-8399-616da73e7a36@googlegroups.com> <mailman.3364.1363446513.2939.python-list@python.org>
Subject Re: What am I doing wrong in this simple tkinter example?
From "Yves S. Garret" <yoursurrogategod@gmail.com>
Message-ID <mailman.3370.1363451993.2939.python-list@python.org> (permalink)

Show all headers | 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