Python GUI Programming with Tkinter: Design and build functional and user-friendly GUI applications, 2nd Edition
(as of May 19,2022 07:07:07 UTC – Details)
From the Publisher
Key Features: Demonstrates how disciplines like MVC architecture and OOP design pay off in the long run Explains real-world problems, how new concepts address the problems, and how to integrate them into existing solutions Gives you a feel for the experience of the average small-office developer
What is new in this 2nd edition?
We’ve made major changes, mostly to the learning curve of the first few chapters. The first edition gave a “Hello World” program, then launched right into object-oriented Tkinter. This was overwhelming for a lot of readers who had never worked with classes before. So, we start with a more procedural approach that is less intimidating to new Python coders, followed by a chapter introducing object-oriented code and the “why” and “how” of using it. This will be welcome for many readers.
Example code updated to Python 3.9, using new features such as Enums and f-strings Unnecessary workarounds removed, sticking more closely to Python best practices Wider coverage of Tkinter, including menu styling, more widgets, and the use of custom events
What makes this book different from other books on Tkinter?
Technology books are often written with an emphasis on the “how” of a technology, but not a lot on the “why.” Sure, it is useful to learn syntax and APIs, but how do you get from a set of user requirements to a piece of code that solves real problems? Too many books just give you some boilerplate to paste into your editor and, hey, presto! You have a solution!
With this book, I wanted to (as my middle-school math teacher would put it) “show my work.” I wanted to start with the problem and talk through the thought process that takes us to a solution. Here’s why we are using this widget, here’s why we are configuring it this way, and so on.
I think it is no secret that Tkinter is mostly a beginner’s GUI toolkit, so I did not just want to give knowledge about Tkinter; I wanted to provide readers with an understanding about application and GUI development that they can apply no matter what technologies they end up using.
What are the key takeaways from your book?
The goal is to take a beginner Python developer – someone who knows the basics and has written small scripts – and lead them to a place where they can confidently develop a complete GUI solution for a real-world business need.
You’ll thoroughly explore the Tkinter library, from the basics of building simple GUI forms to more advanced things like integration with third-party librariesThe book discusses Python-related topics that you may not have learned or found a use for in simple scripts, such as creating your own classes, organizing a project into a package, and exception handlingYou’ll gain a good grounding in auxiliary technologies often employed in data-oriented applications, like SQL databases, network services, and data serialization formatsYou’ll cover a lot of the “soft skills” essential to application development, such as planning, documenting, interacting with users, and staying organized when dealing with an evolving code base
Topics Covered: Organizing Your Code with Classes Reducing User Error with Validation and Automation Planning for the Expansion of Your Application Maintaining Cross-Platform Compatibility Connecting to the Cloud Navigating Records with Treeview and Notebook Improving Data Storage with SQL …and more!
Publisher : Packt Publishing; 2nd ed. edition (October 28, 2021)
Language : English
Paperback : 664 pages
ISBN-10 : 1801815925
ISBN-13 : 978-1801815925
Item Weight : 2.47 pounds
Dimensions : 7.5 x 1.5 x 9.25 inches