wsgiref.simple_server.make_server()

wsgiref.simple_server.make_server(host, port, app, server_class=WSGIServer, handler_class=WSGIRequestHandler) Create a new WSGI server listening on host and port, accepting connections for app. The return value is an instance of the supplied server_class, and will process requests using the specified handler_class. app must be a WSGI application object, as defined by PEP 3333. Example usage: from wsgiref.simple_server import make_server, demo_app httpd = make_server('', 8000, demo_app) prin

turtle.turtlesize()

turtle.turtlesize(stretch_wid=None, stretch_len=None, outline=None) Parameters: stretch_wid – positive number stretch_len – positive number outline – positive number Return or set the pen’s attributes x/y-stretchfactors and/or outline. Set resizemode to “user”. If and only if resizemode is set to “user”, the turtle will be displayed stretched according to its stretchfactors: stretch_wid is stretchfactor perpendicular to its orientation, stretch_len is stretchfactor in direction of its

calendar.weekheader()

calendar.weekheader(n) Return a header containing abbreviated weekday names. n specifies the width in characters for one weekday.

importlib.abc.FileLoader.get_data()

abstractmethod get_data(path) Reads path as a binary file and returns the bytes from it.

asyncio.Protocol.data_received()

Protocol.data_received(data) Called when some data is received. data is a non-empty bytes object containing the incoming data. Note Whether the data is buffered, chunked or reassembled depends on the transport. In general, you shouldn’t rely on specific semantics and instead make your parsing generic and flexible enough. However, data is always received in the correct order.

inspect.getmoduleinfo()

inspect.getmoduleinfo(path) Returns a named tuple ModuleInfo(name, suffix, mode, module_type) of values that describe how Python will interpret the file identified by path if it is a module, or None if it would not be identified as a module. In that tuple, name is the name of the module without the name of any enclosing package, suffix is the trailing part of the file name (which may not be a dot-delimited extension), mode is the open() mode that would be used ('r' or 'rb'), and module_type

selectors.EpollSelector

class selectors.EpollSelector select.epoll()-based selector. fileno() This returns the file descriptor used by the underlying select.epoll() object.

xml.sax.handler.feature_validation

xml.sax.handler.feature_validation value: "http://xml.org/sax/features/validation" true: Report all validation errors (implies external-general-entities and external-parameter-entities). false: Do not report validation errors. access: (parsing) read-only; (not parsing) read/write

ftplib.error_perm

exception ftplib.error_perm Exception raised when an error code signifying a permanent error (response codes in the range 500–599) is received.

imaplib.IMAP4.send()

IMAP4.send(data) Sends data to the remote server. You may override this method.