A Python Cocoa example.