Tkinter book on current versions

Discussion in 'Python' started by Paul Watson, Mar 21, 2009.

  1. Paul Watson

    Paul Watson Guest

    Has anyone tried the Grayson book, "Python and Tkinter Programming,"
    with a recent version of Python?

    The first example code (calculator) generates a single row of buttons.
    Perhaps I have not applied the errata correctly. Has anyone been
    successful?

    I am using:

    Python 2.5.2 (r252:60911, Dec 1 2008, 17:47:46)
     
    Paul Watson, Mar 21, 2009
    #1
    1. Advertising

  2. Paul Watson

    W. eWatson Guest

    Paul Watson wrote:
    > Has anyone tried the Grayson book, "Python and Tkinter Programming,"
    > with a recent version of Python?
    >
    > The first example code (calculator) generates a single row of buttons.
    > Perhaps I have not applied the errata correctly. Has anyone been
    > successful?
    >
    > I am using:
    >
    > Python 2.5.2 (r252:60911, Dec 1 2008, 17:47:46)
    >

    If you mean calc1.py, I had no trouble with calc1.py under 2.5, but calc2.py
    uses Pmw, which I do not have. calc2 has a few problems with mixing tabs and
    blanks.

    --
    W. eWatson

    (121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
    Obz Site: 39° 15' 7" N, 121° 2' 32" W, 2700 feet

    Web Page: <www.speckledwithstars.net/>
     
    W. eWatson, Mar 21, 2009
    #2
    1. Advertising

  3. Paul Watson

    Paul Watson Guest

    On Sat, 2009-03-21 at 08:10 -0700, W. eWatson wrote:
    > Paul Watson wrote:
    > > Has anyone tried the Grayson book, "Python and Tkinter Programming,"
    > > with a recent version of Python?
    > >
    > > The first example code (calculator) generates a single row of buttons.
    > > Perhaps I have not applied the errata correctly. Has anyone been
    > > successful?
    > >
    > > I am using:
    > >
    > > Python 2.5.2 (r252:60911, Dec 1 2008, 17:47:46)
    > >

    > If you mean calc1.py, I had no trouble with calc1.py under 2.5, but calc2.py
    > uses Pmw, which I do not have. calc2 has a few problems with mixing tabs and
    > blanks.


    Ok. It works. I did not type it in correctly. Thanks for your
    confirmation that it does work.
     
    Paul Watson, Mar 22, 2009
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Manu
    Replies:
    1
    Views:
    6,106
    Natty Gur
    Jul 20, 2003
  2. Matthew Heidemann
    Replies:
    14
    Views:
    248
    eT Ma
    Mar 22, 2011
  3. Replies:
    3
    Views:
    180
  4. John Nagle
    Replies:
    1
    Views:
    414
    Dietmar Schwertberger
    Mar 10, 2012
  5. Jack
    Replies:
    3
    Views:
    614
    Tad J McClellan
    Dec 22, 2008
Loading...

Share This Page