I am using windows 8 (not yet updated to 8.1)
The code I am using is
import ctypes SPI_SETDESKWALLPAPER = 20 ctypes.windll
import ctypes
SPI_SETDESKWALLPAPER = 20
ctypes.windll
Try passing SPIF_SENDCHANGE (which is 2) as the last parameter. You might also need to bitwise-or it with SPIF_UPDATEINIFILE (which is 1).
SPIF_SENDCHANGE
SPIF_UPDATEINIFILE