[Pythonmac-SIG] convert binary plist to xml string

Florian Munz surf at theflow.de
Sat May 7 19:13:19 CEST 2005


Hello,

since the format of plist files changed to binary by default on Tiger my
little program, which works on xml plists doesn't work anymore.

Is there a way to convert a binary plist to xml with Python or PyObjC?

I know this on the command line:

plutil -convert xml1 Bookmarks.plist

but I'm searching a way to do this directly.

NSMutableDictionary.dictionaryWithContentsOfFile_(file)

doesn't help me in this case.


thanks,
Florian



More information about the Pythonmac-SIG mailing list