title: Changing desktop background with Python
body: <p>I've been tring to change the desktop background using Python 2.7 :   </p>
  
  <pre><code>SPI_SETDESKWALLPAPER = 20
  ctypes.windll.user32.SystemParametersInfoA(SPI_SETDESKWALLPAPER, 0, pngName, 0)
  </code></pre>
  
  <p>( While pngName is a valid path to an image )</p>
  
  <p>When I run the script nothing changes, and when I try it with a different image it works just fine.</p>
  
  <p>Any suggestions?</p>
  
  <p>p.s. 
  can someone please explain how that script works? I've taken it from somewhere and don't quite understand it.</p>
  
  <p>Thanks!</p>