I previously wrote about downloading Bing’s daily image and set it as your wallpaper using PowerShell script. However, if you are a Mac user, this simple Python script will do a similar job.
I have already made the following script an app using Mac Automator. It basically creates a new directory for you, if one does not exist, under your “Pictures” directory called “Bing Wallpapers” and download Bing’s daily image there as “wallpaper.jpg”.
You can save the app in your Applications folder or anywhere you want.
Or, if you want to edit the script, download the source below and make your own app.
import urllib2 import json import datetime import os.path, time from os.path import expanduser #market options: en-US, zh-CN, ja-JP, en-AU, en-UK, de-DE, en-NZ market = 'en-US' resolution = '1920x1080' BingDirectory= expanduser("~") +'/Pictures/Bing Wallpaper/' WallpaperName = 'wallpaper.jpg' loop_value = 1 while (loop_value == 1): try: urllib2.urlopen("http://google.com") except urllib2.URLError,Read More