tkinter.tix.tixCommand.tix_getbitmap()

tixCommand.tix_getbitmap(name) Locates a bitmap file of the name name.xpm or name in one of the bitmap directories (see the tix_addbitmapdir() method). By using tix_getbitmap(), you can avoid hard coding the pathnames of the bitmap files in your application. When successful, it returns the complete pathname of the bitmap file, prefixed with the character @. The returned value can be used to configure the bitmap option of the Tk and Tix widgets.

queue.Queue.qsize()

Queue.qsize() Return the approximate size of the queue. Note, qsize() > 0 doesn’t guarantee that a subsequent get() will not block, nor will qsize() < maxsize guarantee that put() will not block.

pprint.PrettyPrinter.pprint()

PrettyPrinter.pprint(object) Print the formatted representation of object on the configured stream, followed by a newline.

heapq.nsmallest()

heapq.nsmallest(n, iterable, key=None) Return a list with the n smallest elements from the dataset defined by iterable. key, if provided, specifies a function of one argument that is used to extract a comparison key from each element in the iterable: key=str.lower Equivalent to: sorted(iterable, key=key)[:n]

tracemalloc.Snapshot.load()

classmethod load(filename) Load a snapshot from a file. See also dump().

platform.python_build()

platform.python_build() Returns a tuple (buildno, builddate) stating the Python build number and date as strings.

multiprocessing.Lock.acquire()

acquire(block=True, timeout=None) Acquire a lock, blocking or non-blocking. With the block argument set to True (the default), the method call will block until the lock is in an unlocked state, then set it to locked and return True. Note that the name of this first argument differs from that in threading.Lock.acquire(). With the block argument set to False, the method call does not block. If the lock is currently in a locked state, return False; otherwise set the lock to a locked state and r

weakref.finalize.__call__()

__call__() If self is alive then mark it as dead and return the result of calling func(*args, **kwargs). If self is dead then return None.

multiprocessing.managers.SyncManager.Barrier()

Barrier(parties[, action[, timeout]]) Create a shared threading.Barrier object and return a proxy for it. New in version 3.3.

bz2.BZ2Compressor.compress()

compress(data) Provide data to the compressor object. Returns a chunk of compressed data if possible, or an empty byte string otherwise. When you have finished providing data to the compressor, call the flush() method to finish the compression process.