turtle.pendown()

turtle.pendown() turtle.pd() turtle.down() Pull the pen down – drawing when moving.

BaseException.args

args The tuple of arguments given to the exception constructor. Some built-in exceptions (like OSError) expect a certain number of arguments and assign a special meaning to the elements of this tuple, while others are usually called only with a single string giving an error message.

cmd.Cmd.onecmd()

Cmd.onecmd(str) Interpret the argument as though it had been typed in response to the prompt. This may be overridden, but should not normally need to be; see the precmd() and postcmd() methods for useful execution hooks. The return value is a flag indicating whether interpretation of commands by the interpreter should stop. If there is a do_*() method for the command str, the return value of that method is returned, otherwise the return value from the default() method is returned.

multiprocessing.Connection.recv_bytes_into()

recv_bytes_into(buffer[, offset]) Read into buffer a complete message of byte data sent from the other end of the connection and return the number of bytes in the message. Blocks until there is something to receive. Raises EOFError if there is nothing left to receive and the other end was closed. buffer must be a writable bytes-like object. If offset is given then the message will be written into the buffer from that position. Offset must be a non-negative integer less than the length of buf

socket.htons()

socket.htons(x) Convert 16-bit positive integers from host to network byte order. On machines where the host byte order is the same as network byte order, this is a no-op; otherwise, it performs a 2-byte swap operation.

reprlib.Repr.repr1()

Repr.repr1(obj, level) Recursive implementation used by repr(). This uses the type of obj to determine which formatting method to call, passing it obj and level. The type-specific methods should call repr1() to perform recursive formatting, with level - 1 for the value of level in the recursive call.

msvcrt.ungetch()

msvcrt.ungetch(char) Cause the byte string char to be “pushed back” into the console buffer; it will be the next character read by getch() or getche().

zipfile.ZipFile.debug

ZipFile.debug The level of debug output to use. This may be set from 0 (the default, no output) to 3 (the most output). Debugging information is written to sys.stdout.

xml.etree.ElementTree.fromstring()

xml.etree.ElementTree.fromstring(text) Parses an XML section from a string constant. Same as XML(). text is a string containing XML data. Returns an Element instance.

turtle.ontimer()

turtle.ontimer(fun, t=0) Parameters: fun – a function with no arguments t – a number >= 0 Install a timer that calls fun after t milliseconds. >>> running = True >>> def f(): ... if running: ... fd(50) ... lt(60) ... screen.ontimer(f, 250) >>> f() ### makes the turtle march around >>> running = False