We will use the Pmw Tkinter extension to code some widget features that are not available in core Tkinter. Pmw can be installed by using the pip command-line tool, as follows:
pip3 install pmw
Pmw can also be installed from the source package for all the platforms. The package can be downloaded from http://sourceforge.net/projects/pmw/.
After installing pyglet, AVbin, and Pmw, execute the following command from the Python shell:
>> import pyglet, Pmw>>> pyglet.version '1.3.0'>>> Pmw.version() '2.0.1'
If the commands execute without an error message and the version of pyglet and Pmw are the same as what's shown in the preceding code, you are ready to code your audio player.