turtle.onrelease()

turtle.onrelease(fun, btn=1, add=None) Parameters: fun – a function with two arguments which will be called with the coordinates of the clicked point on the canvas num – number of the mouse-button, defaults to 1 (left mouse button) add – True or False – if True, a new binding will be added, otherwise it will replace a former binding Bind fun to mouse-button-release events on this turtle. If fun is None, existing bindings are removed. >>> class MyTurtle(Turtle): ... def gl

base64.encodestring()

base64.encodestring(s) Encode the bytes-like object s, which can contain arbitrary binary data, and return bytes containing the base64-encoded data, with newlines (b'\n') inserted after every 76 bytes of output, and ensuring that there is a trailing newline, as per RFC 2045 (MIME). encodestring is a deprecated alias.

plistlib.Data

class plistlib.Data(data) Return a “data” wrapper object around the bytes object data. This is used in functions converting from/to plists to represent the <data> type available in plists. It has one attribute, data, that can be used to retrieve the Python bytes object stored in it. Deprecated since version 3.4: Use a bytes object instead.

zlib.error

exception zlib.error Exception raised on compression and decompression errors.

curses.window.getstr()

window.getstr([y, x]) Read a string from the user, with primitive line editing capacity.

audioop.reverse()

audioop.reverse(fragment, width) Reverse the samples in a fragment and returns the modified fragment.

dis.disassemble()

dis.disassemble(code, lasti=-1, *, file=None) dis.disco(code, lasti=-1, *, file=None) Disassemble a code object, indicating the last instruction if lasti was provided. The output is divided in the following columns: the line number, for the first instruction of each line the current instruction, indicated as -->, a labelled instruction, indicated with >>, the address of the instruction, the operation code name, operation parameters, and interpretation of the parameters in parentheses

sys.last_traceback

sys.last_traceback These three variables are not always defined; they are set when an exception is not handled and the interpreter prints an error message and a stack traceback. Their intended use is to allow an interactive user to import a debugger module and engage in post-mortem debugging without having to re-execute the command that caused the error. (Typical use is import pdb; pdb.pm() to enter the post-mortem debugger; see pdb module for more information.) The meaning of the variables

xdrlib.Unpacker.unpack_farray()

Unpacker.unpack_farray(n, unpack_item) Unpacks and returns (as a list) a fixed length array of homogeneous items. n is number of list elements to expect in the buffer. As above, unpack_item is the function used to unpack each element.

xml.etree.ElementTree.XMLPullParser.feed()

feed(data) Feed the given bytes data to the parser.