K

KeyboardInterrupt exception, Exceptions Aren’t Always Errors
keys, Nesting Revisited, Missing Keys: if TestsMissing Keys: if Tests, Sorting Keys: for LoopsSorting Keys: for Loops, Sorting Keys: for Loops, Adding Keys, Attributes, and Offsets, Flexible reference syntax: Extra complexity and functional overlap, Dictionaries, Basic Dictionary Operations, More Dictionary Methods, Preview: Mapping values to keys, Dictionary Usage Notes, Dictionary Usage Notes, Using dictionaries to simulate flexible lists: Integer keys, Using dictionaries for sparse data structures: Tuple keys, Avoiding missing-key errors, Sorting dictionary keys in 3.X, Sorting dictionary keys in 3.X, Sorting dictionary keys in 3.X
(see also access-by-key databases and filesystems)
access-by-key databases and filesystems, Nesting Revisited
dictionary, Sorting Keys: for Loops, Adding Keys, Attributes, and Offsets, Dictionaries, Basic Dictionary Operations, Dictionary Usage Notes, Sorting dictionary keys in 3.X
integer-based, Using dictionaries to simulate flexible lists: Integer keys
mapping values to, Preview: Mapping values to keys
missing, Missing Keys: if TestsMissing Keys: if Tests, Avoiding missing-key errors
sorting, Sorting Keys: for LoopsSorting Keys: for Loops, More Dictionary Methods, Sorting dictionary keys in 3.X
string method calls and, Flexible reference syntax: Extra complexity and functional overlap
tuple-based, Using dictionaries for sparse data structures: Tuple keys
usage notes, Dictionary Usage Notes
keyword arguments, Mapping Operations, More on sorting lists, Argument Matching Basics, Keyword and Default ExamplesCombining keywords and defaults, Python 3.X Keyword-Only ArgumentsWhy keyword-only arguments?, Using Keyword-Only Arguments, Using keyword-only arguments in 3.X, Testing As You Go, Abstract superclasses in Python 3.X and 2.6+: Preview, Class instance attributes
about, Argument Matching Basics, Keyword and Default ExamplesCombining keywords and defaults
abstract superclasses and, Abstract superclasses in Python 3.X and 2.6+: Preview
decorators and, Class instance attributes
homegrown timing module, Using keyword-only arguments in 3.X
mapping operations and, Mapping Operations
modifying sort behavior, More on sorting lists
printing example, Using Keyword-Only Arguments
usage examples, Testing As You Go
version considerations, Python 3.X Keyword-Only ArgumentsWhy keyword-only arguments?
KISS principle, Don’t Abuse List Comprehensions: KISSOn the other hand: performance, conciseness, expressiveness, KISS Revisited: “Overwrapping-itis”
Komodo IDE, Other IDEs