plistlib
plistlib — Generate and parse Mac OS X .plist files
Source code: Lib/plistlib.py
This module provides an interface for reading and writing the “property list” files used mainly by Mac OS X and supports both binary and XML plist files.
The property list (.plist
) file format is a simple serialization supporting basic object types, like dictionaries, lists, numbers and strings. Usually the top level object is a dictionary.
To write out and to parse a plist file, use the dump()
and load()
functions.
To work with plist data in bytes