Current mood:

I also stole the images from Ichigo Mashimaro. Objectivly, this whole post consists of 90% stolen content.
Current mood:

I also stole the images from Ichigo Mashimaro. Objectivly, this whole post consists of 90% stolen content.
…so I extracted some animations from My-Otome, episode 5, to replace good old Guu on the main page, so to speak.
With all those cool images I have sitting around on my computer it is often difficult to decide which to choose for my desktop. After a while I wondered if it would be possible to have Python select a random image from my wallpaper folder and set it as background. I digged around a bit and found a function SystemParametersInfo in user32.dll. After some hassles with the parameters I finally managed to create this piece of code to change wallpaper on the fly. Required modules are win32all and ctypes (for dll loading functions) as well as Python Imaging Library (to convert images to .BMP).