Transform your evolving user requirements into feature-rich Tkinter applicationsKey FeaturesExtensively revised with new content on RESTful networking, classes in Tkinter, and the Notebook widgetTake advantage of Tkinter’s lightweight, portable, and easy-to-use featuresBuild better-organized code and learn to manage an evolving codebaseBook DescriptionTkinter 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.What you will learnProduce well-organized, functional, and responsive GUI applicationsExtend the functionality of existing widgets using classes and OOPPlan wisely for the expansion of your app using MVC and version controlMake sure your app works as intended through widget validation and unit testingUse tools and processes to analyze and respond to user requestsBecome familiar with technologies used in workplace applications, including SQL, HTTP, Matplotlib, threading, and CSVUse PostgreSQL authentication to ensure data security for your applicationWho this book is forThis 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.
Les mer
Tkinter is a lightweight, portable, and easy-to-use graphical toolkit available in the Python Standard Library. Due to its simplicity and availability, it is widely used to build GUIs in Python. This book teaches you how to design and build functional, appealing, and user-friendly GUI applications.
Les mer
Table of ContentsIntroduction to TkinterDesigning GUI ApplicationsCreating Basic Forms with Tkinter and Ttk WidgetsOrganizing Our Code with ClassesReducing User Error with Validation and AutomationPlanning for the Expansion of Our ApplicationCreating Menus with Menu and Tkinter DialogsNavigating Records with Treeview and NotebookImproving the Look with Styles and ThemesMaintaining Cross-Platform CompatibilityCreating Automated Tests with unittestImproving Data Storage with SQLConnecting to the CloudAsynchronous Programming with Thread and QueueVisualizing Data Using the Canvas WidgetPackaging with setuptools and cxFreezeAppendix A : A Quick Primer on reStructuredTextAppendix B: A Quick SQL Tutorial
Les mer

Produktdetaljer

ISBN
9781801815925
Publisert
2021-10-28
Utgave
2. utgave
Utgiver
Vendor
Packt Publishing Limited
Høyde
93 mm
Bredde
75 mm
Aldersnivå
P, 06
Språk
Product language
Engelsk
Format
Product format
Heftet

Forfatter

Om bidragsyterne

Alan D. Moore is a data analyst and software developer who has been solving problems with Python since 2006. He's developed both open source and private code using frameworks like Django, Flask, Qt, and of course Tkinter, and is known to contribute to various open-source Python and JavaScript projects. Alan maintains a YouTube channel, “Alan D Moore Codes”, where he posts Python, PyQt, and Tkinter tutorials. Alan lives in Franklin, Tennessee, where he works for the County Government, and with his wife Cara raises a crew of children who are just as geeky as their dad.