It is delicious blag. You must eat it!

A sexy blag about booze, boobs, stuff and redundant waffles.

Random wallpaper Python script for Windows

February 25th, 2009 by yoshi


To be able to use this you’ll need:

  1. Python
  2. PIL
  3. win32 libs

It changes the wallpaper to a random one every 5 minutes. Interval can be changed inside the script.

You’ll have to set a folder path, without a trailing slash, and that folder must contain only images. It does not resize the images to fit the current desktop or whatever else, do that yourself.

Download the script.

How you run the script (as a service or whatnot) is up to you.

You could create a task and set it to repeat itself every X minutes. If so, use this script (it has the while loop removed).

No warranty is offered, your computer might blow up and your pr0n might get erased. I’m not responsible for it \o/

Posted in Geeky

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.