[Pythonmac-SIG] convert binary plist to xml string

Bob Ippolito bob at redivi.com
Sat May 14 06:57:23 CEST 2005


On May 13, 2005, at 11:19 PM, Bill Janssen wrote:

> The binary plist format is also documented on the Web in
> http://cvs.opendarwin.org/index.cgi/~checkout~/src/CoreFoundation/ 
> Parsing.subproj/CFBinaryPList.c?rev=1.1.1.3&content-type=text/plain
> so a parser could be written for it in pure Python.

Yeah, the NeXT style plists could be done too.  But the question is,  
why bother?  PyObjC does it correctly and quickly :)

That code wouldn't be very fun to write in Python.  The struct module  
sucks.

-bob



More information about the Pythonmac-SIG mailing list