Book description
Leverage the power of Python and its de facto GUI framework to build highly interactive interfaces
About This Book- The fundamentals of Python and GUI programming with Tkinter.
- Create multiple cross-platform projects by integrating a host of third-party libraries and tools.
- Build beautiful and highly-interactive user interfaces that target multiple devices.
This book is for beginners to GUI programming who haven't used Tkinter yet and are eager to start building great-looking and user-friendly GUIs. Prior knowledge of Python programming is expected.
What You Will Learn- Create a scrollable frame via theCanvas widget
- Use the pack geometry manager andFrame widget to control layout
- Learn to choose a data structurefor a game
- Group Tkinter widgets, such asbuttons, canvases, and labels
- Create a highly customizablePython editor
- Design and lay out a chat window
Tkinter is a modular, cross-platform application development toolkit for Python. When developing GUI-rich applications, the most important choices are which programming language(s) and which GUI framework to use. Python and Tkinter prove to be a great combination. This book will get you familiar with Tkinter by having you create fun and interactive projects. These projects have varying degrees of complexity. We'll start with a simple project, where you'll learn the fundamentals of GUI programming and the basics of working with a Tkinter application. After getting the basics right, we'll move on to creating a project of slightly increased complexity, such as a highly customizable Python editor. In the next project, we'll crank up the complexity level to create an instant messaging app. Toward the end, we'll discuss various ways of packaging our applications so that they can be shared and installed on other machines without the user having to learn how to install and run Python programs.
Style and approachStep by Step guide with real world examples
Table of contents
- Title Page
- Copyright and Credits
- Packt Upsell
- Contributors
- Preface
- Meet Tkinter
- Back to the Command Line – Basic Blackjack
- Jack is Back in Style – the Blackjack GUI
- The Finishing Touches – Sound and Animation
- Creating a Highly Customizable Python Editor
- Color Me Impressed! – Adding Syntax Highlighting
- Not Just for Restaurants – All About Menus
- Talk Python to Me – a Chat Application
- Connecting – Getting Our Chat Client Online
- Making Friends – Finishing Our Chat Application
- Wrapping Up – Packaging Our Applications to Share
- Other Books You May Enjoy
Product information
- Title: Tkinter GUI Programming by Example
- Author(s):
- Release date: April 2018
- Publisher(s): Packt Publishing
- ISBN: 9781788627481
You might also like
book
Rapid GUI Programming with Python and Qt: The Definitive Guide to PyQt Programming
The Insider’s Best-Practice Guide to Rapid PyQt 4 GUI Development Whether you’re building GUI prototypes or …
book
Tkinter GUI Application Development Blueprints - Second Edition
Geometry Management, Event Handling, and more About This Book A Practical, guide to learn the application …
book
Tkinter GUI Application Development Blueprints
Master GUI programming in Tkinter as you design, implement, and deliver ten real-world applications from start …
book
Python GUI Programming - A Complete Reference Guide
Explore Python's GUI frameworks and create visually stunning and feature-rich applications Key Features Integrate stunning data …