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

Pmw Tkinter extension

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.

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