I am creating a simple tool for adding album art covers to mp3 files in python. So far, I’m just working on sending a request to Amazon with the name of the artist and album, and I also get the resulting list, as well as searching for the actual images for each result. I want to show a simple frame with a button / link for each image and a skip / cancel button.
I have done several searches, but I can’t find examples that I can use as a base.
- I want to display images directly from the Internet. I.e. using urllib to open and read bytes in memory, not to go through a file on disk
- I want to display images as buttons preferably
All the examples seem to focus on working with files on disk, not just the buffer. The TK documentation in the python standard library does not seem to cover the main Button widget. This seems like an easy task, I just could not find the right documentation.
source
share