pyclbr.readmodule()

pyclbr.readmodule(module, path=None) Read a module and return a dictionary mapping class names to class descriptor objects. The parameter module should be the name of a module as a string; it may be the name of a module within a package. The path parameter should be a sequence, and is used to augment the value of sys.path, which is used to locate module source code.

turtle.st()

turtle.st() Make the turtle visible. >>> turtle.showturtle()

platform.python_version()

platform.python_version() Returns the Python version as string 'major.minor.patchlevel'. Note that unlike the Python sys.version, the returned value will always include the patchlevel (it defaults to 0).

csv.Dialect.strict

Dialect.strict When True, raise exception Error on bad CSV input. The default is False.

xml.sax.make_parser()

xml.sax.make_parser(parser_list=[]) Create and return a SAX XMLReader object. The first parser found will be used. If parser_list is provided, it must be a sequence of strings which name modules that have a function named create_parser(). Modules listed in parser_list will be used before modules in the default list of parsers.

tkinter.ttk.Treeview.yview()

yview(*args) Query or modify vertical position of the treeview.

ctypes.get_errno()

ctypes.get_errno() Returns the current value of the ctypes-private copy of the system errno variable in the calling thread.

turtle.pos()

turtle.pos() Return the turtle’s current location (x,y) (as a Vec2D vector). >>> turtle.pos() (440.00,-0.00)

Other Graphical User Interface Packages

Major cross-platform (Windows, Mac OS X, Unix-like) GUI toolkits are available for Python: See also PyGObject provides introspection bindings for C libraries using GObject. One of these libraries is the GTK+ 3 widget set. GTK+ comes with many more widgets than Tkinter provides. An online Python GTK+ 3 Tutorial is available. PyGTK provides bindings for an older version of the library, GTK+ 2. It provides an object oriented interface that is slightly higher level than the C one. There are also

asyncio.AbstractEventLoopPolicy.new_event_loop()

new_event_loop() Create and return a new event loop object according to this policy’s rules. If there’s need to set this loop as the event loop for the current context, set_event_loop() must be called explicitly.