• Complain

Alan D. Moore - Python GUI Programming with Tkinter: Design and build functional and user-friendly GUI applications, 2nd Edition

Here you can read online Alan D. Moore - Python GUI Programming with Tkinter: Design and build functional and user-friendly GUI applications, 2nd Edition full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2021, publisher: Packt Publishing - ebooks Account, genre: Computer. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

Alan D. Moore Python GUI Programming with Tkinter: Design and build functional and user-friendly GUI applications, 2nd Edition
  • Book:
    Python GUI Programming with Tkinter: Design and build functional and user-friendly GUI applications, 2nd Edition
  • Author:
  • Publisher:
    Packt Publishing - ebooks Account
  • Genre:
  • Year:
    2021
  • Rating:
    4 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 80
    • 1
    • 2
    • 3
    • 4
    • 5

Python GUI Programming with Tkinter: Design and build functional and user-friendly GUI applications, 2nd Edition: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "Python GUI Programming with Tkinter: Design and build functional and user-friendly GUI applications, 2nd Edition" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

Transform your evolving user requirements into feature-rich Tkinter applications

Key Features
  • Extensively revised with new content on RESTful networking, classes in Tkinter, and the Notebook widget
  • Take advantage of Tkinters lightweight, portable, and easy-to-use features
  • Build better-organized code and learn to manage an evolving codebase
Book Description

Tkinter is widely used to build GUIs in Python due to its simplicity. In this book, youll discover Tkinters 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. Youll 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.

Youll develop a practical understanding of tools and techniques used to manage this evolving codebase and go beyond the default Tkinter widget capabilities. Youll implement version control and unit testing, separation of concerns through the MVC design pattern, and object-oriented programming to organize your code more cleanly.

Youll also gain experience with technologies often used in workplace applications, such as SQL databases, network services, and data visualization libraries. Finally, youll package your application for wider distribution and tackle the challenge of maintaining cross-platform compatibility.

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
Who this book is 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.

Table of Contents
  1. Introduction to Tkinter
  2. Designing GUI Applications
  3. Creating Basic Forms with Tkinter and Ttk Widgets
  4. Organizing Our Code with Classes
  5. Reducing User Error with Validation and Automation
  6. Planning for the Expansion of Our Application
  7. Creating Menus with Menu and Tkinter Dialogs
  8. Navigating Records with Treeview and Notebook
  9. Improving the Look with Styles and Themes
  10. Maintaining Cross-Platform Compatibility
  11. Creating Automated Tests with unittest
  12. Improving Data Storage with SQL
  13. Connecting to the Cloud
  14. Asynchronous Programming with Thread and Queue
  15. Visualizing Data Using the Canvas Widget
  16. Packaging with setuptools and cxFreeze
  17. Appendix A : A Quick Primer on reStructuredText
  18. Appendix B: A Quick SQL Tutorial

Alan D. Moore: author's other books


Who wrote Python GUI Programming with Tkinter: Design and build functional and user-friendly GUI applications, 2nd Edition? Find out the surname, the name of the author of the book and a list of all author's works by series.

Python GUI Programming with Tkinter: Design and build functional and user-friendly GUI applications, 2nd Edition — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "Python GUI Programming with Tkinter: Design and build functional and user-friendly GUI applications, 2nd Edition" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
Python GUI Programming with Tkinter Second Edition Design and build functional - photo 1

Python GUI Programming with Tkinter

Second Edition

Design and build functional and user-friendly GUI applications

Alan D. Moore

BIRMINGHAMMUMBAI Python GUI Programming with Tkinter Second Edition Copyright - photo 2

BIRMINGHAMMUMBAI

Python GUI Programming with Tkinter

Second Edition

Copyright 2021 Packt Publishing

All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.

Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing or its dealers and distributors, will be held liable for any damages caused or alleged to have been caused directly or indirectly by this book.

Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.

Producer: Tushar Gupta

Acquisition Editor Peer Reviews: Suresh Jain

Project Editor: Namrata Katare

Content Development Editor: Lucy Wan

Copy Editor: Safis Editing

Technical Editor: Karan Sonawane

Proofreader: Safis Editing

Indexer: Subalakshmi Govindhan

Presentation Designer: Ganesh Bhadwalkar

First published: May 2018 Second edition: October 2021

Production reference: 1261021

Published by Packt Publishing Ltd.

Livery Place

35 Livery Street

Birmingham

B3 2PB, UK.

ISBN 978-1-80181-592-5

www.packt.com

Contributors
About the author

Alan D. Moore has been coding in Python since 2005. He lives in Franklin, Tennessee, where he develops database apps for the local government. His technical interests include Python, JavaScript, Linux, and analog electronics. In his free time, he publishes coding videos on the YouTube channel Alan D Moore Codes, makes music, builds guitar effects, volunteers at his church and scout troop, and helps his wife raise their five children.

Profound thanks to Lucy and Alejandro, without whom this book would be riddled with errors; to Cara and the kids for their support and encouragement; and to the Python and Tcl/Tk communities for providing such great software. God bless you all!

About the reviewer

Alejandro Rodas de Paz is a computer engineer from Seville, Spain. He has developed several professional and academic Python projects, from artificial intelligence algorithms to DevOps scripting.

Prior to this publication, Alejandro wrote the Packt titles Python Game Development by Example and Tkinter GUI Application Development Cookbook. He also collaborated as a technical reviewer on the book Tkinter GUI Application Development Hotshot.

I would like to thank and dedicate this work to my sister Belen, whose next year will be the beginning of a long and joyful journey. Wish you all the best on this next chapter of life.

Preface

Writing a book involves much more than the application of grammar and punctuation rules. In the same way, developing an application requires more than a knowledge of programming languages and library APIs. A mere mastery of syntax rules and function calls is not in itself sufficient for designing applications that empower users to perform work, safeguard valuable data, and produce flawless output. As programmers, we also need to be able to interpret user requests and expectations into effective interface designs and pick the best technologies to implement them. We need to be able to organize large code bases, test them, and maintain them in a way that keeps them manageable and free from careless errors.

This book aims to be much more than a reference manual for a particular GUI toolkit. As we walk through a fictitious workplace scenario, you will get a taste of what it's like to be an application programmer in a small office environment. In addition to learning Tkinter and a few other useful libraries, you will learn many of the skills you need to move from being a writer of short scripts to a writer of fully-featured graphical applications. By the time you've finished the book, you should feel confident that you can develop a simple but useful data-oriented application for a working environment.

Who this book is for

This book is for beginners who have learned the basics of Python but haven't written much beyond simple scripts. We'll walk you step-by-step through designing and creating a larger application, and we'll introduce you to skills that will help you advance as a programmer.

It's also aimed at those who have used Python for data science, web development, or system administration, but who now want to branch out into creating GUI applications. We'll go through the knowledge and skills required to create local GUI applications.

Finally, this book may also be useful for experienced Python programmers who just want to learn Tkinter, as much of the book details the finer points of using the Tkinter library.

What this book covers

Chapter 1, Introduction to Tkinter, introduces you to the basics of the Tkinter library and walks you through creating a basic Tkinter application. It will also introduce you to IDLE as an example of a Tkinter application.

Chapter 2, Designing GUI Applications, goes through the process of turning a set of user requirements into a design that we can implement.

Chapter 3, Creating Basic Forms with Tkinter and Ttk Widgets, shows you how to create a basic data entry application that appends entered data to a CSV file.

Chapter 4, Organizing Our Code with Classes, will introduce you to general object-oriented programming techniques as well as Tkinter-specific uses for classes that will make our GUI programs more maintainable and understandable.

Chapter 5, Reducing User Error with Validation and Automation, demonstrates how to automatically populate and validate data in our form's inputs.

Chapter 6, Planning for the Expansion of Our Application, familiarizes you with how to break a single-file script intelligently into multiple files, how to build a Python module that you can import, and how to separate the concerns of a large codebase to make it more manageable.

Chapter 7, Creating Menus with Menu and Tkinter Dialogs, outlines the creation of a main menu using Tkinter. It will also show the use of several built-in dialog types to implement common menu functionality.

Chapter 8, Navigating Records with Treeview and Notebook, details the construction of a data record navigation system using the Ttk Treeview and Notebook, as well as the conversion of our application from append-only to full read, write, and update capabilities.

Chapter 9, Improving the Look with Styles and Themes, informs you of how to change the colors, fonts, and widget styles of your application, and how to use them to make your application more usable and attractive.

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «Python GUI Programming with Tkinter: Design and build functional and user-friendly GUI applications, 2nd Edition»

Look at similar books to Python GUI Programming with Tkinter: Design and build functional and user-friendly GUI applications, 2nd Edition. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «Python GUI Programming with Tkinter: Design and build functional and user-friendly GUI applications, 2nd Edition»

Discussion, reviews of the book Python GUI Programming with Tkinter: Design and build functional and user-friendly GUI applications, 2nd Edition and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.