A simple LED component for wxPython displays. It has some cute use of ASCII art to encode the actual image data, a more complete example of this XPM format can be seen here. My version of wx.Colour did not have the GetAsString() function, so I wrote a trivial replacement:
def getAsXPMRGB(wxcolour):
    return "#%02x%02x%02x" % wxcolour.Get()
[1] [2]