Home | History | Annotate | Download | only in python2.7

Lines Matching refs:PLIST

1 r"""plistlib.py -- a tool to generate and parse MacOSX .plist files.
3 The PropertyList (.plist) file format is a simple XML pickle supporting
7 To write out a plist file, use the writePlist(rootObject, pathOrFile)
11 To parse a plist from a file, use the readPlist(pathOrFile) function,
15 To work with plist data in strings, you can use readPlistFromString()
23 The <data> plist type is supported through the Data class. This is a
26 Generate Plist example:
47 Parse Plist example:
57 "Plist", "Data", "Dict"
59 # Note: the Plist and Dict classes have been deprecated.
69 """Read a .plist file. 'pathOrFile' may either be a file name or a
85 """Write 'rootObject' to a .plist file. 'pathOrFile' may either be a
93 writer.writeln("<plist version=\"1.0\">")
95 writer.writeln("</plist>")
101 """Read a plist data from a string. Return the root object.
107 """Return 'rootObject' as a plist-formatted string.
227 <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
303 warn("Attribute access from plist dicts is deprecated, use d[key] "
309 warn("Attribute access from plist dicts is deprecated, use d[key] "
319 warn("Attribute access from plist dicts is deprecated, use d[key] "
331 class Plist(_InternalDict):
339 warn("The Plist class is deprecated, use the readPlist() and "
341 super(Plist, self).__init__(**kwargs)
346 plist = cls()
347 plist.update(rootObject)
348 return plist