Tkinter GUI Programming by Example

Learn to Create Modern GUIs Using Tkinter by Building Real-World Projects in Python

Af David Love
Detaljer Packt Publishing, Limited
ISBN 9781788627481
Sprog Engelsk
Pris 713,00 kr.
Paperback

Ikke på lager

Ikke på lager. Bestil nu og få den leveret om ca. 12 hverdage

Leverage the power of Python and its de facto GUI framework to build highly interactive interfacesAbout 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.Who This Book Is ForThis 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 windowIn DetailTkinter 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 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