binascii.rlecode_hqx()

binascii.rlecode_hqx(data) Perform binhex4 style RLE-compression on data and return the result.

email.generator.BytesGenerator

class email.generator.BytesGenerator(outfp, mangle_from_=True, maxheaderlen=78, *, policy=None) The constructor for the BytesGenerator class takes a binary file-like object called outfp for an argument. outfp must support a write() method that accepts binary data. Optional mangle_from_ is a flag that, when True, puts a > character in front of any line in the body that starts exactly as From, i.e. From followed by a space at the beginning of the line. This is the only guaranteed portable w

math.log10()

math.log10(x) Return the base-10 logarithm of x. This is usually more accurate than log(x, 10).

multiprocessing.JoinableQueue.join()

join() Block until all items in the queue have been gotten and processed. The count of unfinished tasks goes up whenever an item is added to the queue. The count goes down whenever a consumer calls task_done() to indicate that the item was retrieved and all work on it is complete. When the count of unfinished tasks drops to zero, join() unblocks.

zipfile.ZipFile.infolist()

ZipFile.infolist() Return a list containing a ZipInfo object for each member of the archive. The objects are in the same order as their entries in the actual ZIP file on disk if an existing archive was opened.

email.headerregistry.MIMEVersionHeader.version

version The version number as a string, with any whitespace and/or comments removed.

pathlib.Path.exists()

Path.exists() Whether the path points to an existing file or directory: >>> Path('.').exists() True >>> Path('setup.py').exists() True >>> Path('/etc').exists() True >>> Path('nonexistentfile').exists() False Note If the path points to a symlink, exists() returns whether the symlink points to an existing file or directory.

email.headerregistry.Address.domain

domain The domain portion of the address.

mailbox.Mailbox.discard()

discard(key) Delete the message corresponding to key from the mailbox. If no such message exists, a KeyError exception is raised if the method was called as remove() or __delitem__() but no exception is raised if the method was called as discard(). The behavior of discard() may be preferred if the underlying mailbox format supports concurrent modification by other processes.

locale.resetlocale()

locale.resetlocale(category=LC_ALL) Sets the locale for category to the default setting. The default setting is determined by calling getdefaultlocale(). category defaults to LC_ALL.