Uname: Linux server.digisquadtech.com 4.18.0-553.100.1.el8_10.x86_64 #1 SMP Mon Feb 2 04:13:33 EST 2026 x86_64 User: 1091 (madhavfluid) Group: 1090 (madhavfluid) Disabled functions:NONE Safe mode: On[ PHPinfo ] //usr/lib64/python3.6///__pycache__ ( Reset | Go to )
File Name: plistlib.cpython-36.opt-1.pyc
3
]i#~ @ sb d Z ddddddddd d ddd
dgZddlZddlZddlZddlZddlZddlmZ ddl Z ddl Z ddlZddlZddl
mZ ddlmZ ejddedZe jej G dd deZG dd deZejdd ZG dd deZdd Zdd Zdd Zd d Z G d!d dZ!d"Z"ej#d#Z$dPd%d&Z%d'd( Z&ej#d)ej'Z(d*d+ Z)d,d- Z*d.d/ Z+G d0d1 d1Z,G d2d3 d3Z-G d4d5 d5e-Z.d6d7 Z/G d8d de0Z1d9d:d;d<d=Z2e3 Z4G d>d? d?Z5d@dA Z6e7e8e9eje:fZ;G dBdC dCe3Z<dDdE Z=e>ee/e,e.dFe?ee=e5e<dFiZ@ddGedHdIdZAddGedHdJd
ZBe>dGdKdLdMdZCe>dKdGdNdOdZDdS )Qa plistlib.py -- a tool to generate and parse MacOSX .plist files.
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.
To write out a plist file, use the dump(value, file) function. 'value' is the top level object, 'file' is a (writable) file object.
To parse a plist from a file, use the load(file) function, with a (readable) file object as the only argument. It returns the top level object (again, usually a dictionary).
To work with plist data in bytes objects, you can use loads() and dumps().
Values can be strings, integers, floats, booleans, tuples, lists, dictionaries (but only with string keys), Data, bytes, bytearray, or datetime.datetime objects.
with open(fileName, 'rb') as fp: pl = load(fp) print(pl["aKey"]) readPlist writePlistreadPlistFromByteswritePlistToBytesPlistDataDictInvalidFileExceptionFMT_XML FMT_BINARYloaddumploadsdumps N)BytesIO)warn)ParserCreatePlistFormatzFMT_XML FMT_BINARY)modulec @ s( e Zd Zf Zdd Zdd Zdd ZdS )
_InternalDictc C s: y| | }W n t k r( t|Y nX tdtd |S )NzLAttribute access from plist dicts is deprecated, use d[key] notation instead )KeyErrorAttributeErrorr DeprecationWarning)selfattrvalue r /usr/lib64/python3.6/plistlib.py__getattr__V s z_InternalDict.__getattr__c C s t dtd || |<