O'Reilly logo

Tkinter GUI Application Development Blueprints - Second Edition by Bhaskar Chaudhary

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Technical requirements

Besides Tkinter, we will use a few standard Python libraries. The next import should execute without any error as they are built-in in most Python distributions:

import json, collections, functools, math

In addition, we use simpleaudio, which is a module that lets us play notes on the piano.

You can install simpleaudio using the following command:

pip3 install simpleaudio

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required