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

The pyglet module

Pyglet is a cross-platform windowing and multimedia library for Python. It can be downloaded at https://bitbucket.org/pyglet/pyglet/wiki/Download.

Pyglet can be installed using the pip installer, which is the default package manager for Python  by using the following command:

pip3 install pyglet

Windows users can also download and install binary packages for pyglet from http://www.lfd.uci.edu/~gohlke/pythonlibs/#pyglet.

Pyglet needs another module called AVbin to support playback of file formats such as MP2 and MP3. AVbin can be obtained for Windows, Linux, and macOS from the download section at http://avbin.github.io.

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