External library requirements
In addition to the several built-in modules of Python, we will use the following two external modules in this project:
- The
pyglet
library for audio manipulation - Pmw (short for Python megawidget) for the widgets that are not available in core Tkinter
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.
Pmw Tkinter extension
We will use the Pmw Tkinter extension to code some widget features...