poplib.POP3.apop()

POP3.apop(user, secret) Use the more secure APOP authentication to log into the POP3 server.

poplib.POP3

class poplib.POP3(host, port=POP3_PORT[, timeout]) This class implements the actual POP3 protocol. The connection is created when the instance is initialized. If port is omitted, the standard POP3 port (110) is used. The optional timeout parameter specifies a timeout in seconds for the connection attempt (if not specified, the global default timeout setting will be used).

poplib.error_proto

exception poplib.error_proto Exception raised on any errors from this module (errors from socket module are not caught). The reason for the exception is passed to the constructor as a string.

plistlib.writePlistToBytes()

plistlib.writePlistToBytes(rootObject) Return rootObject as an XML plist-formatted bytes object. Deprecated since version 3.4: Use dumps() instead.

plistlib.writePlist()

plistlib.writePlist(rootObject, pathOrFile) Write rootObject to an XML plist file. pathOrFile may be either a file name or a (writable and binary) file object Deprecated since version 3.4: Use dump() instead.

plistlib.readPlistFromBytes()

plistlib.readPlistFromBytes(data) Read a plist data from a bytes object. Return the root object. See load() for a description 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 loads() instead.

plistlib.readPlist()

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.

plistlib.loads()

plistlib.loads(data, *, fmt=None, use_builtin_types=True, dict_type=dict) Load a plist from a bytes object. See load() for an explanation of the keyword arguments. New in version 3.4.

plistlib.load()

plistlib.load(fp, *, fmt=None, use_builtin_types=True, dict_type=dict) Read a plist file. fp should be a readable and binary file object. Return the unpacked root object (which usually is a dictionary). The fmt is the format of the file and the following values are valid: None: Autodetect the file format FMT_XML: XML file format FMT_BINARY: Binary plist format If use_builtin_types is true (the default) binary data will be returned as instances of bytes, otherwise it is returned as insta

plistlib.dumps()

plistlib.dumps(value, *, fmt=FMT_XML, sort_keys=True, skipkeys=False) Return value as a plist-formatted bytes object. See the documentation for dump() for an explanation of the keyword arguments of this function. New in version 3.4.