python magic for rendering folders of images as wallpapers