This is iconify - a tool that builds both Windows ".ico" and Mac 
".icns" icon files, on either platform (plus Linux).  

For general details:
    see http://learning-python.com/iconify.html

For usage details:
    see the docstring at the top of file iconify.py