Have a personal or library account? Click to login
Python GUI Programming Cookbook Cover

Python GUI Programming Cookbook

Over 80 object-oriented recipes to help you create mind-blowing GUIs in Python

Paid access
|Sep 2025
Product purchase options

Over 80 object-oriented recipes to help you create mind-blowing GUIs in Python

Key Features

    Book Description

    Python is a multi-domain, interpreted programming language. It is a widely used general-purpose, high-level programming language. It is often used as a scripting language because of its forgiving syntax and compatibility with a wide variety of different eco-systems. Its flexible syntax enables developers to write short scripts while at the same time, they can use object-oriented concepts to develop very large projects.
    Python GUI Programming Cookbook follows a task-based approach to help you create beautiful and very effective GUIs with the least amount of code necessary. This book uses the simplest programming style, using the fewest lines of code to create a GUI in Python, and then advances to using object-oriented programming in later chapters. If you are new to object-oriented programming (OOP), this book will teach you how to take advantage of the OOP coding style in the context of creating GUIs written in Python.
    Throughout the book, you will develop an entire GUI application, building recipe upon recipe, connecting the GUI to a database. In the later chapters, you will explore additional Python GUI frameworks, using best practices. You will also learn how to use threading to ensure your GUI doesn’t go unresponsive.
    By the end of the book, you will be an expert in Python GUI programming to develop a common set of GUI applications.

    What you will learn

      Who this book is for

      If you are a Python programmer with intermediate level knowledge of GUI programming and want to learn how to create beautiful, effective, and responsive GUIs using the freely available Python GUI frameworks, this book is for you.

      Table of Contents

      1. Creating the GUI Form and Adding Widgets
      2. Layout management
      3. Look and feel customization
      4. Data and Classes
      5. Matplotlib charts
      6. Threads & Networking
      7. Database handling
      8. Testing & Internationalization
      9. Enhancing the GUI with the wxPython library
      10. Creating Amazing 2D GUIs with PyOpenGL and pyglet
      11. Best Practices
      PDF ISBN: 978-1-78528-748-0
      Publisher: Packt Publishing Limited
      Copyright owner: © 2015 Packt Publishing Limited
      Publication date: 2025
      Language: English
      Pages: 350