pyico is a python module for converting images to Windows .ico files.