fileinput.close()

fileinput.close() Close the sequence.

tkinter.ttk.Style.configure()

configure(style, query_opt=None, **kw) Query or set the default value of the specified option(s) in style. Each key in kw is an option and each value is a string identifying the value for that option. For example, to change every default button to be a flat button with some padding and a different background color: from tkinter import ttk import tkinter root = tkinter.Tk() ttk.Style().configure("TButton", padding=6, relief="flat", background="#ccc") btn = ttk.Button(text="Sample") btn.

turtle.towards()

turtle.towards(x, y=None) Parameters: x – a number or a pair/vector of numbers or a turtle instance y – a number if x is a number, else None Return the angle between the line from turtle position to position specified by (x,y), the vector or the other turtle. This depends on the turtle’s start orientation which depends on the mode - “standard”/”world” or “logo”). >>> turtle.goto(10, 10) >>> turtle.towards(0,0) 225.0

xml.sax.xmlreader.XMLReader.setContentHandler()

XMLReader.setContentHandler(handler) Set the current ContentHandler. If no ContentHandler is set, content events will be discarded.

os.path.sameopenfile()

os.path.sameopenfile(fp1, fp2) Return True if the file descriptors fp1 and fp2 refer to the same file. Availability: Unix, Windows. Changed in version 3.2: Added Windows support.

ast.literal_eval()

ast.literal_eval(node_or_string) Safely evaluate an expression node or a string containing a Python literal or container display. The string or node provided may only consist of the following Python literal structures: strings, bytes, numbers, tuples, lists, dicts, sets, booleans, and None. This can be used for safely evaluating strings containing Python values from untrusted sources without the need to parse the values oneself. It is not capable of evaluating arbitrarily complex expressions

curses.window.bkgdset()

window.bkgdset(ch[, attr]) Set the window’s background. A window’s background consists of a character and any combination of attributes. The attribute part of the background is combined (OR’ed) with all non-blank characters that are written into the window. Both the character and attribute parts of the background are combined with the blank characters. The background becomes a property of the character and moves with the character through any scrolling and insert/delete line/character operat

xml.parsers.expat.xmlparser.ElementDeclHandler()

xmlparser.ElementDeclHandler(name, model) Called once for each element type declaration. name is the name of the element type, and model is a representation of the content model.

dict.pop()

pop(key[, default]) If key is in the dictionary, remove it and return its value, else return default. If default is not given and key is not in the dictionary, a KeyError is raised.

pprint.isreadable()

pprint.isreadable(object) Determine if the formatted representation of object is “readable,” or can be used to reconstruct the value using eval(). This always returns False for recursive objects. >>> pprint.isreadable(stuff) False