curses.def_shell_mode()

curses.def_shell_mode() Save the current terminal mode as the “shell” mode, the mode when the running program is not using curses. (Its counterpart is the “program” mode, when the program is using curses capabilities.) Subsequent calls to reset_shell_mode() will restore this mode.

pwd.getpwuid()

pwd.getpwuid(uid) Return the password database entry for the given numeric user ID.

tkinter.tix.StdButtonBox

class tkinter.tix.StdButtonBox The StdButtonBox widget is a group of standard buttons for Motif-like dialog boxes.

tkinter.tix.OptionMenu

class tkinter.tix.OptionMenu The OptionMenu creates a menu button of options.

copy.deepcopy()

copy.deepcopy(x) Return a deep copy of x.

string.printable

string.printable String of ASCII characters which are considered printable. This is a combination of digits, ascii_letters, punctuation, and whitespace.

_thread.lock.release()

lock.release() Releases the lock. The lock must have been acquired earlier, but not necessarily by the same thread.

struct.pack()

struct.pack(fmt, v1, v2, ...) Return a bytes object containing the values v1, v2, ... packed according to the format string fmt. The arguments must match the values required by the format exactly.

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.