os.supports_effective_ids

os.supports_effective_ids A Set object indicating which functions in the os module permit use of the effective_ids parameter for os.access(). If the local platform supports it, the collection will contain os.access(), otherwise it will be empty. To check whether you can use the effective_ids parameter for os.access(), use the in operator on supports_effective_ids, like so: os.access in os.supports_effective_ids Currently effective_ids only works on Unix platforms; it does not work on Window

tkinter.ttk.Combobox

class tkinter.ttk.Combobox current(newindex=None) If newindex is specified, sets the combobox value to the element position newindex. Otherwise, returns the index of the current value or -1 if the current value is not in the values list. get() Returns the current value of the combobox. set(value) Sets the value of the combobox to value.

socket.CMSG_SPACE()

socket.CMSG_SPACE(length) Return the buffer size needed for recvmsg() to receive an ancillary data item with associated data of the given length, along with any trailing padding. The buffer space needed to receive multiple items is the sum of the CMSG_SPACE() values for their associated data lengths. Raises OverflowError if length is outside the permissible range of values. Note that some systems might support ancillary data without providing this function. Also note that setting the buffer

multiprocessing.Process

class multiprocessing.Process(group=None, target=None, name=None, args=(), kwargs={}, *, daemon=None) Process objects represent activity that is run in a separate process. The Process class has equivalents of all the methods of threading.Thread. The constructor should always be called with keyword arguments. group should always be None; it exists solely for compatibility with threading.Thread. target is the callable object to be invoked by the run() method. It defaults to None, meaning nothi

aifc.open()

aifc.open(file, mode=None) Open an AIFF or AIFF-C file and return an object instance with methods that are described below. The argument file is either a string naming a file or a file object. mode must be 'r' or 'rb' when the file must be opened for reading, or 'w' or 'wb' when the file must be opened for writing. If omitted, file.mode is used if it exists, otherwise 'rb' is used. When used for writing, the file object should be seekable, unless you know ahead of time how many samples you a

xmlrpc.server.CGIXMLRPCRequestHandler

class xmlrpc.server.CGIXMLRPCRequestHandler(allow_none=False, encoding=None, use_builtin_types=False) Create a new instance to handle XML-RPC requests in a CGI environment. The allow_none and encoding parameters are passed on to xmlrpc.client and control the XML-RPC responses that will be returned from the server. The use_builtin_types parameter is passed to the loads() function and controls which types are processed when date/times values or binary data are received; it defaults to false.

math.fmod()

math.fmod(x, y) Return fmod(x, y), as defined by the platform C library. Note that the Python expression x % y may not return the same result. The intent of the C standard is that fmod(x, y) be exactly (mathematically; to infinite precision) equal to x - n*y for some integer n such that the result has the same sign as x and magnitude less than abs(y). Python’s x % y returns a result with the sign of y instead, and may not be exactly computable for float arguments. For example, fmod(-1e-100,

urllib.parse.urldefrag()

urllib.parse.urldefrag(url) If url contains a fragment identifier, return a modified version of url with no fragment identifier, and the fragment identifier as a separate string. If there is no fragment identifier in url, return url unmodified and an empty string. The return value is actually an instance of a subclass of tuple. This class has the following additional read-only convenience attributes: Attribute Index Value Value if not present url 0 URL with no fragment empty string fragment

asyncio.StreamReader

class asyncio.StreamReader(limit=None, loop=None) This class is not thread safe. exception() Get the exception. feed_eof() Acknowledge the EOF. feed_data(data) Feed data bytes in the internal buffer. Any operations waiting for the data will be resumed. set_exception(exc) Set the exception. set_transport(transport) Set the transport. coroutine read(n=-1) Read up to n bytes. If n is not provided, or set to -1, read until EOF and return all read bytes. If the EO

os.fstatvfs()

os.fstatvfs(fd) Return information about the filesystem containing the file associated with file descriptor fd, like statvfs(). As of Python 3.3, this is equivalent to os.statvfs(fd). Availability: Unix.