subprocess.check_output()

subprocess.check_output(args, *, stdin=None, stderr=None, shell=False, universal_newlines=False, timeout=None) Run command with arguments and return its output. If the return code was non-zero it raises a CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute and any output in the output attribute. This is equivalent to: run(..., check=True, stdout=PIPE).stdout The arguments shown above are merely the most common ones. The full function signa

tkinter.scrolledtext.ScrolledText.vbar

ScrolledText.vbar The scroll bar widget.

random.randint()

random.randint(a, b) Return a random integer N such that a <= N <= b. Alias for randrange(a, b+1).

logging.getLevelName()

logging.getLevelName(lvl) Returns the textual representation of logging level lvl. If the level is one of the predefined levels CRITICAL, ERROR, WARNING, INFO or DEBUG then you get the corresponding string. If you have associated levels with names using addLevelName() then the name you have associated with lvl is returned. If a numeric value corresponding to one of the defined levels is passed in, the corresponding string representation is returned. Otherwise, the string ‘Level %s’ % lvl is

socket.if_nametoindex()

socket.if_nametoindex(if_name) Return a network interface index number corresponding to an interface name. OSError if no interface with the given name exists. Availability: Unix. New in version 3.3.

email.policy.Policy.raise_on_defect

raise_on_defect If True, any defects encountered will be raised as errors. If False (the default), defects will be passed to the register_defect() method.

turtle.onclick()

turtle.onclick(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-click events on this turtle. If fun is None, existing bindings are removed. Example for the anonymous turtle, i.e. the procedural way: >

decimal.Context.next_toward()

next_toward(x, y) Returns the number closest to x, in direction towards y.

http.cookiejar.CookieJar.clear()

CookieJar.clear([domain[, path[, name]]]) Clear some cookies. If invoked without arguments, clear all cookies. If given a single argument, only cookies belonging to that domain will be removed. If given two arguments, cookies belonging to the specified domain and URL path are removed. If given three arguments, then the cookie with the specified domain, path and name is removed. Raises KeyError if no matching cookie exists.

email.headerregistry.BaseHeader.defects

defects A tuple of HeaderDefect instances reporting any RFC compliance problems found during parsing. The email package tries to be complete about detecting compliance issues. See the errors module for a discussion of the types of defects that may be reported.