ipaddress.IPv4Network.subnets()

subnets(prefixlen_diff=1, new_prefix=None) The subnets that join to make the current network definition, depending on the argument values. prefixlen_diff is the amount our prefix length should be increased by. new_prefix is the desired new prefix of the subnets; it must be larger than our prefix. One and only one of prefixlen_diff and new_prefix must be set. Returns an iterator of network objects. >>> list(ip_network('192.0.2.0/24').subnets()) [IPv4Network('192.0.2.0/25'), IPv4Netwo

poplib.POP3.apop()

POP3.apop(user, secret) Use the more secure APOP authentication to log into the POP3 server.

curses.panel.Panel.above()

Panel.above() Returns the panel above the current panel.

multiprocessing.connection.Listener.close()

close() Close the bound socket or named pipe of the listener object. This is called automatically when the listener is garbage collected. However it is advisable to call it explicitly.

http.cookiejar.DefaultCookiePolicy.strict_ns_domain

DefaultCookiePolicy.strict_ns_domain Flags indicating how strict to be with domain-matching rules for Netscape cookies. See below for acceptable values.

traceback.print_exc()

traceback.print_exc(limit=None, file=None, chain=True) This is a shorthand for print_exception(*sys.exc_info(), limit, file, chain).

termios.tcflow()

termios.tcflow(fd, action) Suspend or resume input or output on file descriptor fd. The action argument can be TCOOFF to suspend output, TCOON to restart output, TCIOFF to suspend input, or TCION to restart input.

ipaddress.IPv6Interface

class ipaddress.IPv6Interface(address) Construct an IPv6 interface. The meaning of address is as in the constructor of IPv6Network, except that arbitrary host addresses are always accepted. IPv6Interface is a subclass of IPv6Address, so it inherits all the attributes from that class. In addition, the following attributes are available: ip network with_prefixlen with_netmask with_hostmask Refer to the corresponding attribute documentation in IPv4Interface.

textwrap.fill()

textwrap.fill(text, width=70, **kwargs) Wraps the single paragraph in text, and returns a single string containing the wrapped paragraph. fill() is shorthand for "\n".join(wrap(text, ...)) In particular, fill() accepts exactly the same keyword arguments as wrap().

ipaddress.IPv6Network.num_addresses

num_addresses