With 2 ratings
By: David Love
Purchased At: $49
Leverage the power of Python and its de facto GUI framework to build highly interactive interfaces
- 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.
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.
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
Who this book is for
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.
Table of Contents
- 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