Re: Tkinter book on current versions

2009-03-22 Thread Paul Watson
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.

--
http://mail.python.org/mailman/listinfo/python-list


Re: Tkinter book on current versions

2009-03-22 Thread Mike Driscoll
Hi,

On Fri, Mar 20, 2009 at 10:14 PM, 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)
>
> --

I used that book a couple of years ago. I don't recall having any
major issues with it, but I ended up going with wxPython since I
needed some specialized widgets that I couldn't find in Tkinter at the
time.

Mike
--
http://mail.python.org/mailman/listinfo/python-list


Re: Tkinter book on current versions

2009-03-21 Thread W. eWatson

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: 

--
http://mail.python.org/mailman/listinfo/python-list