The Mudcat Café TM
Thread #112265   Message #2373628
Posted By: Artful Codger
24-Jun-08 - 07:17 PM
Thread Name: Tech: htmlesc.py: Mac script to escape text
Subject: RE: Tech: htmlesc.py: Mac script to escape text
Jon: Cocoa is an object-oriented application support layer for Mac OS X (contrasted with Carbon, which is generally lower-level and procedural). Cocoa has an Objective-C interface. Objective-C is a dynamically-typed object-oriented C-derivative language with Smalltalk-like object messaging. This is why my Python script requires the PyObjC bridge: to interact with the Cocoa layer, and through it, the pasteboard service. Quite nifty, but sadly non-portable.