Extensively revised with new content on RESTful networking, classes in Tkinter, and the Notebook widget
Take advantage of Tkinter’s lightweight, portable, and easy-to-use features
Build better-organized code and learn to manage an evolving codebase
Description
Tkinter is widely used to build GUIs in Python due to its simplicity. In this book, you’ll discover Tkinter’s strengths and overcome its challenges as you learn to develop fully featured GUI applications.
Python GUI Programming with Tkinter, Second Edition, will not only provide you with a working knowledge of the Tkinter GUI library, but also a valuable set of skills that will enable you to plan, implement, and maintain larger applications. You’ll build a full-blown data entry application from scratch, learning how to grow and improve your code in response to continually changing user and business needs.
You’ll develop a practical understanding of tools and techniques used to manage this evolving codebase and go beyond the default Tkinter widget capabilities. You’ll implement version control and unit testing, separation of concerns through the MVC design pattern, and object-oriented programming to organize your code more cleanly.
You’ll also gain experience with technologies often used in workplace applications, such as SQL databases, network services, and data visualization libraries. Finally, you’ll package your application for wider distribution and tackle the challenge of maintaining cross-platform compatibility.
Who is this book for?
This book is for programmers who understand the syntax of Python, but do not yet have the skills, techniques, and knowledge to design and implement a complete software application. A fair grasp of basic Python syntax is required.
What you will learn
Produce well-organized, functional, and responsive GUI applications
Extend the functionality of existing widgets using classes and OOP
Plan wisely for the expansion of your app using MVC and version control
Make sure your app works as intended through widget validation and unit testing
Use tools and processes to analyze and respond to user requests
Become familiar with technologies used in workplace applications, including SQL, HTTP, Matplotlib, threading, and CSV
Use PostgreSQL authentication to ensure data security for your application
Excellent product. Moves at an easy pace making it easy to learn. There are a good selection of diagrams to aid understanding of the topic.
Feefo Verified review
JohnstonAug 26, 2022
5
I purchased this book in order to learn more about GUI use and Tkinter. I didn't realize the book is over 600 pages. It starts out extremely simple and gets you going quickly while simultaneously teaching you in an understandable way. I'm only halfway through but so far, it's an awesome book. Goes over everything in great depth and is basically my new Tkinter offline encyclopedia. 10/10
Amazon Verified review
MaxMar 20, 2022
5
Ich habe dieses Buch mit großer Freude und mit viel Enthusiasmus durchgearbeitet. Dabei gefiel mir besonders der Aufbau und die Herangehensweise. Ich habe in noch keinem anderen Python Buch ein learning by doing wie hier gesehen. Das Konzept, die theoretischen Kenntnisse anhand eines Praxisbeispiels, einer App in diesem Fall, zu vermitteln, gefällt mir sehr gut. Ich hatte und habe viel Spaß mit dem Buch.
Amazon Verified review
Blaine BatemanNov 30, 2021
5
Python has become the most popular programming language in the world, in part because it can be used in so many different ways, is fully open source and free, and has tremendous support from a vast community of developers.This book is a great resource for developing simple user-facing applications in Python ("GUIs"). The Tkinter library, which is part of standard Python, is shown by author Alan Moore to enable development of simple to complex applications that could be used for your personal automation tasks to fairly sophisticated business needs. Moore explains the benefits of Tkinter over more "modern" approaches:Tkinter is in the standard libraryTkinter is stableTkinter is only a GUI toolkitTkinter is simple and no-nonsenseReinforcing this view, he allows you to create a "Hello World" application on your machine in the first 10 pages of Chapter 1. From there, a great value of this book is that instead of just reviewing Tkinter, Moore shows how to use important integrations such as SQL for databases, how to access files, how to communicate with websites and APIs, and many other real-world use cases that, by the end of the book, can allow you to standout in your work or wherever you apply it.Because of the "start simple" and "add layers" style of the book, although it comprises over 600 pages, you can get going right away, and skip to features you want to use and come back to others later. If you have wanted to develop "real" applications using Python, this is an excellent resource. At the end of the book Moore shows how to "freeze" applications into executables that can be shared with others. The sky is the limit here.