plistlib
plistlib — Generate and parse Mac OS X .plist files
Changed in version 2.6: This module was previously only available in the Mac-specific library, it is now available for all platforms.
Source code: Lib/plistlib.py
This module provides an interface for reading and writing the “property list” XML files used mainly by Mac OS X.
The property list (.plist
) file format is a simple XML pickle supporting basic object types, like dictionaries, lists, numbers and strings. Usually the top level object is a dictionary.
Values can be strings, integers, floats, booleans, tuples, lists, dictionaries (but only with string keys), 登录查看完整内容