Let's call our audio player Achtung Baby.
The audio player will be capable of playing audio files in AU, MP2, MP3, OGG/Vorbis, WAV, and WMA formats. It will have all the controls that you would expect of a small media player.
We will use cross-platform modules to write the code. This will ensure that the player can play audio files on Windows, macOS X, and Linux platforms.
On completion, the audio player will look as follows:
Perhaps the most important takeaway from this chapter is to learn how to create your own widgets in Tkinter.
The seek bar in the preceding screenshot is an example of a custom-made widget that was ...