turtle.position()

turtle.position() turtle.pos() Return the turtle’s current location (x,y) (as a Vec2D vector). >>> turtle.pos() (440.00,-0.00)

curses.window.setscrreg()

window.setscrreg(top, bottom) Set the scrolling region from line top to line bottom. All scrolling actions will take place in this region.

turtle.clearstamp()

turtle.clearstamp(stampid) Parameters: stampid – an integer, must be return value of previous stamp() call Delete stamp with given stampid. >>> turtle.position() (150.00,-0.00) >>> turtle.color("blue") >>> astamp = turtle.stamp() >>> turtle.fd(50) >>> turtle.position() (200.00,-0.00) >>> turtle.clearstamp(astamp) >>> turtle.position() (200.00,-0.00)

shlex.shlex.get_token()

shlex.get_token() Return a token. If tokens have been stacked using push_token(), pop a token off the stack. Otherwise, read one from the input stream. If reading encounters an immediate end-of-file, eof is returned (the empty string ('') in non-POSIX mode, and None in POSIX mode).

curses.termname()

curses.termname() Return the value of the environment variable TERM, truncated to 14 characters.

queue.Queue.join()

Queue.join() Blocks 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 thread 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.

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.