statistics.mode()

statistics.mode(data) Return the most common data point from discrete or nominal data. The mode (when it exists) is the most typical value, and is a robust measure of central location. If data is empty, or if there is not exactly one most common value, StatisticsError is raised. mode assumes discrete data, and returns a single value. This is the standard treatment of the mode as commonly taught in schools: >>> mode([1, 1, 2, 3, 3, 3, 3, 4]) 3 The mode is unique in that it is the on

turtle.mainloop()

turtle.mainloop() turtle.done() Starts event loop - calling Tkinter’s mainloop function. Must be the last statement in a turtle graphics program. Must not be used if a script is run from within IDLE in -n mode (No subprocess) - for interactive use of turtle graphics. >>> screen.mainloop()

decimal.Decimal.logical_or()

logical_or(other, context=None) logical_or() is a logical operation which takes two logical operands (see Logical operands). The result is the digit-wise or of the two operands.

xml.dom.pulldom.default_bufsize

xml.dom.pulldom.default_bufsize Default value for the bufsize parameter to parse(). The value of this variable can be changed before calling parse() and the new value will take effect.

webbrowser.controller.open_new()

controller.open_new(url) Open url in a new window of the browser handled by this controller, if possible, otherwise, open url in the only browser window. Alias open_new().

decimal.Context.is_qnan()

is_qnan(x) Returns True if x is a quiet NaN; otherwise returns False.

trace.Trace.runctx()

runctx(cmd, globals=None, locals=None) Execute the command and gather statistics from the execution with the current tracing parameters, in the defined global and local environments. If not defined, globals and locals default to empty dictionaries.

operator.__lt__()

operator.__lt__(a, b) operator.__le__(a, b) operator.__eq__(a, b) operator.__ne__(a, b) operator.__ge__(a, b) operator.__gt__(a, b) Perform “rich comparisons” between a and b. Specifically, lt(a, b) is equivalent to a < b, le(a, b) is equivalent to a <= b, eq(a, b) is equivalent to a == b, ne(a, b) is equivalent to a != b, gt(a, b) is equivalent to a > b and ge(a, b) is equivalent to a >= b. Note that these functions can return any value, which may or may not be interpretable as a

curses.erasechar()

curses.erasechar() Return the user’s current erase character. Under Unix operating systems this is a property of the controlling tty of the curses program, and is not set by the curses library itself.

ipaddress.IPv4Interface.network

network The network (IPv4Network) this interface belongs to. >>> interface = IPv4Interface('192.0.2.5/24') >>> interface.network IPv4Network('192.0.2.0/24')