This is the code repository for Python GUI Programming Cookbook - Second Edition, published by Packt. It contains all the supporting project files necessary to work through the book from start to finish.
This book will guide you from the very basics of creating a fully functional GUI in Python with only a few lines of code. Each and every recipe adds more widgets to the GUIs we are creating. While the cookbook recipes all stand on their own, there is a common theme running through all of them. As our GUIs keep expanding, using more and more widgets, we start to talk to networks, databases, and graphical libraries that greatly enhance our GUI’s functionality. This book is what you need to expand your knowledge on the subject of GUIs, and make sure you’re not missing out in the long run.
All of the codes are organized as per the chapters, each folder has the codes related to that chapter or appendix.
For example: Python-GUI-Programming-Cookbook-Second-Edition/Chapter01/Ch01_Code/First_GUI.py
The code will look like the following:
import tkinter as tk
# Create instance
win = tk.Tk()
# Add a title
win.title("Python GUI")
Following is the software-hardware list:
Chapter | Software required | Download links to the software | Hardware required | OS required |
---|---|---|---|---|
All | Python 3.6 | https://www.python.org/downloads/release/python-360/ | Your PC | Windows 8 and up |