A script I use for managing the user flair on /r/sports. combine.py reads from imagelist.txt and generates a CSS sprite based on the contents.