plistlib.readPlist(pathOrFile)
Read a plist file. pathOrFile may be either a file name or a (readable and binary) file object. Returns the unpacked root object (which usually is a dictionary).
This function calls load() to do the actual work, see the documentation of that function for an explanation of the keyword arguments.
Note
Dict values in the result have a __getattr__ method that defers to __getitem_. This means that you can use attribute access to access items of these dictionaries.
Deprecated since version 3.4: Use load() instead.
Please login to continue.