Book Image

Python GUI Programming Cookbook

By : Burkhard Meier
Book Image

Python GUI Programming Cookbook

By: Burkhard Meier

Overview of this book

Table of Contents (18 chapters)
Python GUI Programming Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Creating a slideshow using tkinter


In this recipe, we will create a nice working slideshow GUI using pure Python.

We will see the limitations the core Python built-ins have, and then we will explore another third-party module available called Pillow, which extends tkinter's built-in functionality in regards to image processing.

While the name Pillow might sound a little bit strange at first, it actually comes with a lot of history behind it.

Note

We are only using Python 3.4 and above in this book.

We are not going back to Python 2.

Guido has expressed his decision to intentionally break backwards compatibility and has decided that Python 3 is the future of Python programming.

For GUIs and images, the older line of Python 2 has this very powerful module named PIL, which stands for Python Image Library. This library comes with a very large amount of functionality, which several years after the very successful creation of Python 3 has not been translated for Python 3.

Many developers still choose...