See larger image
 
Tell the Publisher!
I'd like to read this book on Kindle

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.
Buy Used
Used - Good See details
$22.97 & eligible for FREE Super Saver Shipping on orders over $25. Details

or
Sign in to turn on 1-Click ordering.
 
   
Have one to sell? Sell yours here

Python and Tkinter Programming [Paperback]

John E Grayson Ph.D. (Author)
24 customer reviews)


Available from these sellers.



Book Description

January 2000
This book includes full documentation for Tkinter, and also offers extensive examples for many real-world Python/Tkinter applications that will give programmers a quick start on their own projects.


Editorial Reviews

Amazon.com Review

Books on graphical user interfaces (GUI) have an unfair advantage over typical computer books. Their contents have immediate positive impact on everything they touch, from the popularity of the underlying language to the careers of the developers they reach. Even mediocre GUI books have a beneficial impact.

John E. Grayson's deeply thought out, maturely written Python and Tkinter Programming does the double service of being a excellent object-oriented GUI book and communicating the standard for Tk-widget-based GUI development to the Python community. The short-term result will be a rapid expansion in the popularity of Python itself; the long-term result will be a new batch of supportable, reusable code.

Grayson begins with a three-line "hello world" variant that works out of the box. He moves quickly to a variety of GUI calculators to exhibit buttons and label widgets. Familiarity with Tk from Tcl/Tk or Perl/Tk is helpful but not essential. The convenient bonus of the Python implementation is its inclusion in the standard Python release, of which the current stable version is 1.5.

Nearly half of the book is dedicated to Tk widget implementations and constitutes a translation of Tk into Python. By itself, it is a good teaching tool for students of Python who already know Tk in one of its other manifestations. Appendices covering build/install issues Python megawidgets and a Tkinter reference manual comprise nearly 40 percent of the book, leaving a brief 15 percent for the introductory tutorial, application building, and performance tuning. A late chapter on threads suggests a broad range of client/server applications, but is too brief to be more than a tease. Throughout the text, code snippets are presented in coherent blocks with annotations sensibly appearing as clearly numbered end notes to those blocks.

Grayson presents cross-platform issues with maturity and candor. While Python for Windows and Macintosh environments is stable, he asserts, the Tkinter module does not have the same global look-and-feel control. Fonts and colors are dictated partially by the platform OS.

The subtle challenge for developers is to develop supportable code in the breakneck boss-pleasing, GUI-driven environment. Grayson's elegant introduction to Tkinter advances the subtext of supportability noticeably farther along. By documenting Tkinter, he will push a group of laggard hackers to learn object-oriented principles. And that may be his lasting contribution. --Peter Leopold

Review

"deeply thought, maturely written...does the double service of being a excellent object-oriented GUI book and communicating the standard..." -- Peter Leopold, Amazon.co.uk

Until now, this level of documentation has not been available to Tkinter programmers.... -- CompBookReview.com

Product Details

  • Paperback: 688 pages
  • Publisher: Manning Publications; First Edition edition (January 2000)
  • Language: English
  • ISBN-10: 1884777813
  • ISBN-13: 978-1884777813
  • Product Dimensions: 7 x 1.7 x 9.2 inches
  • Shipping Weight: 2.4 pounds
  • Average Customer Review: 24 customer reviews)
  • Amazon Best Sellers Rank: #311,491 in Books (See Top 100 in Books)
  •  Would you like to give feedback on images?


More About the Author

Discover books, learn about writers, read author blogs, and more.

Customer Reviews

Grayson's writing is always clear and Alessandro Bottoni  |  4 reviewers made a similar statement
Most Helpful Customer Reviews
48 of 50 people found the following review helpful
5.0 out of 5 stars An exceptional book February 24, 2000
Format:Paperback
"Python and TKinter programming" is the kind of book that is very hard to find in a bookstore nowadays. This book is not just a gap-filling, long-awaited tome, full of valuable information regarding a scarcely documented technology. It is a well-designed, carefully edited and clearly written book, too. Since the first pages, it becames clear that Grayson is an expert programmer and a talented technical writer. He does not only demonstrate a complete dominance of the Python and TKinter programming but he also shows an attention for the reader that is rare to see in this world. The whole book, and every single part of it, are carefully designed and written to help the programmer in the learning process and in the everyday work. Also Manning, the publisher, made a very good work with this book, (as with all the book of this series).

Consider to buy this book because:

- It is an exhaustive guide to Python and TKinter programming. No "shadow zones" left.

- It contains 14Mb of working and well written code (available online). You can play and learn from it.

- It is well-organized, carefully edited and clearly written. No struggles to get the info you need.

- It is a first-hand report from the world of real professional programming. No kid tales.

- You get a real understanding of Python and TKinter programming from this book, not a simple, dry description of this language.

The best characteristic of this book is its clear and flexible structure: you are not forced to follow the "flow-of-consciousness" of the author, chapter after chapter (Have you ever read "Programming Python", by Mark Lutz? ). You can easily spot and read the part that most interest you. All of the chapters focus on well-defined aspects of the Python/TKinter programming and are quite indipendent from the other ones. Grayson's writing is always clear and well-organized. You do not have to struggle for extracting the information you need. This is a book designed with a demanding and busy reader in mind.

I hope to see more from Grayson and Manning in the future.

Was this review helpful to you?
17 of 18 people found the following review helpful
3.0 out of 5 stars Tkinter shortchanged October 28, 2003
Format:Paperback
Tkinter gets a too-brief treatment in Grayson's rush to get on to the subject of Pmw, the Python megawidget library, which seems to be the real subject of the book. If you're not going to work in Pmw, most of this book is useless.

The basics of Tk are poorly presented, apparently on the assumption that the reader is already familiar with Tk. The first appendix is devoted to the mapping between Tk and Tkinter, a typical "nugget" being the revelation that the Tk construct "-label string" maps onto the Tkinter construct "label=string", which conveys no useful information in the absence of a complete Tk reference.

Appendix B, a Tkinter reference, has often left me frustrated. It begins with the understandable space-saving device of a list of "Options shared by most widgets," but then continues with "Options shared by many widgets" (why separate?) and "Common widget methods," whose connection with the rest of the appendix is obscure. Studying a widget's entry in Appendix B seldom produces a confident grasp of how to use that widget.

The book is mostly tutorial in form, suited for leisurely reading but frustrating as a reference.

Comment | 
Was this review helpful to you?
8 of 8 people found the following review helpful
4.0 out of 5 stars Good, but not quite perfect.... March 23, 2001
By A Customer
Format:Paperback
Before I even reviewing this title, I have to come out and admit that this book sits on my desk at work. I keep it within an arms reach whenever working on Python GUIs.

First, I felt that this was a pretty good book as far as the instruction of Tkinter goes. It assumes you have at least a basic understanding of Python, so you may want to learn the language before diving into it. There are three aspects of the book that I think deserve special attention: the examples, special topics covered, an how the book is broken up.

It has no shortage of examples for each of the various widgets, and provides well commented code. The one complaint I have here is that the descriptive comments are all at the end of the code, so I frequently found myself flipping back and forth between the code and the comments.

It also priovides several examples of common situations you may run across: dynamically changing widgets, "smart" widgets, and issues regarding GUI overhead.

The first part of the book concentrates on looking under the hood of Tkinter and learning how to interact with its components and get applications running. The second part of the book spends is more of a textbook on the design of more effective/attractive interfaces.

Secondly, the book is also an above-average reference manual. It has two colored sections that outline all of the widgets in standard Tkinter and Pmw (Python Mega-widgets). I find this especially usefull because once you learn the basics of the Tkinter system, you really only need a manual that reminds you of how to get the right widget you want. I think in the course of using the reference manual I've only found two errors, which is pretty good for around 175 pages of material.

Comment | 
Was this review helpful to you?
Most Recent Customer Reviews
4.0 out of 5 stars Notes on "Python and TkKnter Programming "
This book is chock full of examples, with annotations, step by step progress, giving the reader a grasp of GUI construction techniques. Read more
Published on May 28, 2010 by W. C. Curtis
3.0 out of 5 stars Patchy but has good tricks for advanced programmers
This is no place to start and it's by no means a reference because for example it leaves out essential information on the text widget. Read more
Published on April 10, 2010 by M. Henri De Feraudy
4.0 out of 5 stars A Good Python and Tkinter book
I am using this book as a reference for my Cs380 class (essentially Python and C class).
It's a good book, but the most important piece of information is that the book is... Read more
Published on July 26, 2009 by Mark Queue
3.0 out of 5 stars Good Syllabus
After a first scan of the book -- It looks like it provides the basic structure for my learning technique. Read more
Published on March 6, 2009 by LittleSystemGuy
3.0 out of 5 stars Excellent book on Pmw, not Tkinter.
It's a decent book for the experienced python programmer. Definitely not for the beginner. Try working with the "Python Programming" by Lutz before you tackle this book. Read more
Published on September 4, 2006 by K. B. Husain
2.0 out of 5 stars Lots of info, poorly presented!
I find that the author is out of touch with how to present material. He's already tackling a 'calculator' application by page 22. Quite a jump! Read more
Published on September 12, 2003 by G. Roufosse
2.0 out of 5 stars Not Enough about Tk
I have programmed several commercial Macintosh and Windows applications and I have become fairly proficient with Python, so I figured that writing GUIs with Tkinter would be pretty... Read more
Published on April 23, 2002 by Sinclair
2.0 out of 5 stars Not for the timid
It is a great book for doing the most simple of
GUI tasks and for a reference once you have been using
Tkinter for an extended period of time. Read more
Published on November 21, 2001
3.0 out of 5 stars Not for beginners
This book jumps in with examples full of concepts that are not explained (until perhaps later) and when I tried to make one run it didnt even "compile" (with Python 2.0). Read more
Published on August 6, 2001 by Henri de Feraudy
2.0 out of 5 stars Poorly Written Book for all, Terrible for beginners
This book starts off with classes, with no set introduction for them. Even though I am very proficient in C++ and Java, this book is very confusing and disorganized compared to... Read more
Published on July 31, 2001
Search Customer Reviews
Only search this product's reviews

What Other Items Do Customers Buy After Viewing This Item?


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 
(10)
(5)

Your tags: Add your first tag
 

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

Forums

Related forums
There are no discussions about this product yet.
Be the first to discuss this product with the community.
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


So You'd Like to...


Create a guide



Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant