Tkinter book on current versions

P

Paul Watson

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)
 
W

W. eWatson

Paul said:
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/>
 
P

Paul Watson

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.
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top