[ Content | View menu ]

Daily Archive May 16th, 2005

Backdrop in Python

May 16, 2005

#!/usr/bin/python import os, sys, random, imghdr # This is a little program I call via cron to change my desktop every # few minutes. With no arguments it goes to my directory of backdrop # images and picks a valid image at random. If I specify a path and a # file the program will […]

code - Comments closed