Learning Python - Mark Lutz [616]
emulating zip and map functions, Emulating zip and map with Iteration Tools, Coding your own zip(...) and map(None, ...)
one-shot iterations, Coding your own zip(...) and map(None, ...)
send method and __next__, Extended generator function protocol: send versus next
state suspension, State suspension
value generation in built-in types and classes, Value Generation in Built-in Types and Classes
generator objects, Generating Both Offsets and Items: enumerate
generators, Comprehensions, Generators Are Single-Iterator Objects
get method, Missing Keys: if Tests
getrefcount function, Shared References and Equality
global scope, Scope Rules, Other Ways to Access Globals
access without the global statement, Other Ways to Access Globals
global statement, Scope Rules, The global Statement, Other Ways to Access Globals, Minimize Global Variables, Minimize Cross-File Changes
minimize cross-file changes, Minimize Cross-File Changes
minimize global variables, Minimize Global Variables
Google’s Unladen Swallow project, Future Possibilities?
GUIs (Graphical User Interfaces), GUIs, Future Directions
H
handlers, Catching Exceptions
“has-a” relationships, OOP and Composition: “Has-a” Relationships
hash bang (#!), Unix Executable Scripts (#!)
hash character (#), A First Script
hash tables, Dictionaries
hash-mark comments, # Comments
hashes, Dictionaries
has_key method (Python 2.x), Missing Keys: if Tests
help function, Getting Help, PyDoc: The help Function, Development Tools for Larger Projects
helper functions, The Downside of “Helper” Functions
hexadecimal numeric literals, Numeric Literals
home directory, The Module Search Path
I
IDEs, Other IDEs, Other IDEs, Development Tools for Larger Projects
IDLE, Other IDEs (see IDLE user interface)
IDLE user interface, The IDLE User Interface, Advanced IDLE Tools, IDLE Basics, IDLE Basics, Using IDLE, Advanced IDLE Tools, Python Environment Variables
getting support on Linux, Python Environment Variables
IDLE debugger, Advanced IDLE Tools
source code, creation and editing in, IDLE Basics
startup in Windows and Unix-like systems, IDLE Basics
usage and pitfalls, Using IDLE
if clause, Comprehensions
if statement, Missing Keys: if Tests, if Tests and Syntax Rules, Multiway Branching, General Format, Basic Examples, Multiway Branching
examples, Basic Examples
format, General Format
multiway branching, Multiway Branching
if/else ternary expression, The if/else Ternary Expression
immutability, Immutability
immutable objects, Immutable Types Can’t Be Changed In-Place
implementation of shared services and data, Why Use Modules?
implementation-related types, Python’s Core Data Types
import hooks, Advanced Module Selection Concepts
import statement, Using Command Lines and Files, Module Imports and Reloads, Modules and namespaces, import and reload Usage Notes, Imports and Attributes, Module File Selection, The import Statement, import and from Are Assignments, Cross-File Name Changes, import and from Equivalence, Enabling Future Language Features
.py file extension and, Using Command Lines and Files
as assignment, import and from Are Assignments
cross-file name changes, Cross-File Name Changes
enabling new language features, Enabling Future Language Features
from statement, equivalence to, import and from Equivalence
from statement, versus, Modules and namespaces
usage notes, import and reload Usage Notes
imports, How Imports Work, Imports Happen Only Once
in expressions, Multiway Branching
in membership expression, Missing Keys: if Tests
in-place addition, In-Place Addition
in-place change operations, Common Coding Gotchas
incremental prototyping, Testing As You Go
indentation, End of indentation is end of block, Why Indentation Syntax?, Python Syntax Rules, Block Delimiters: Indentation Rules, Avoid mixing tabs and spaces: New error checking in 3.0, Common Coding Gotchas
rules, Block Delimiters: Indentation Rules, Avoid mixing tabs and spaces: New error