Learning Python - Mark Lutz [617]
tabs versus spaces, Avoid mixing tabs and spaces: New error checking in 3.0
index method, List method calls, Conversions, methods, and immutability
and tuples, Conversions, methods, and immutability
indexing, Indexing and Slicing, Indexing and Slicing
indexing expressions, Sequence Operations
indirect function calls, Indirect Function Calls
infinite loops, Examples
inheritance, Why Use Classes?, Attribute Inheritance Search, Classes Are Customized by Inheritance, Classes Are Attributes in Modules, Classes Are Customized by Inheritance, The World’s Simplest Python Class, Inheritance, Python 2.6 and 3.0 Abstract Superclasses, Attribute Tree Construction, Specializing Inherited Methods, Class Interface Techniques, Abstract Superclasses, Python 2.6 and 3.0 Abstract Superclasses, OOP and Inheritance: “Is-a” Relationships
abstract superclasses, Abstract Superclasses, Python 2.6 and 3.0 Abstract Superclasses
attribute inheritance, key ideas of, Classes Are Customized by Inheritance
attribute trees, Attribute Tree Construction
class interface techniques, Class Interface Techniques
real-world relationships, modeling with, OOP and Inheritance: “Is-a” Relationships
simplicity of inheritance model, The World’s Simplest Python Class
specializing inherited methods, Specializing Inherited Methods
input function, The input Trick
insert method, Type-Specific Operations, List method calls
installing Python, Introducing the Python Interpreter
instance methods, Using Static and Class Methods
instances, Attribute Inheritance Search, Classes and Instances, Classes Generate Multiple Instance Objects, Instance Objects Are Concrete Items, The World’s Simplest Python Class, A More Realistic Example, Step 1: Making Instances, Using Code Two Ways, Coding Constructors, Testing As You Go, Using Code Two Ways
making instances, Step 1: Making Instances, Using Code Two Ways, Coding Constructors, Testing As You Go, Using Code Two Ways
coding constructors, Coding Constructors
incremental testing, Testing As You Go
test code, Using Code Two Ways
as namespace objects, The World’s Simplest Python Class
int, String Conversion Tools
int function, Storing and parsing Python objects in files
integer division, Python 2.6 versus 3.0, Variables and Basic Expressions
integers, Numeric Literals, Numeric Literals
Python 3.0, Numeric Literals
integrated development environments, Other IDEs (see IDEs)
interactive loops, A Quick Example: Interactive Loops, Nesting Code Three Levels Deep, A Simple Interactive Loop, Doing Math on User Inputs, Handling Errors by Testing Inputs, Handling Errors with try Statements, Nesting Code Three Levels Deep
math operations on user input, Doing Math on User Inputs
nesting code three levels deep, Nesting Code Three Levels Deep
simple example, A Simple Interactive Loop
testing inputs, Handling Errors by Testing Inputs
try statements, handling errors with, Handling Errors with try Statements
interactive prompt, The Interactive Prompt, Entering multiline statements, Running Code Interactively, Experimenting, Testing, Using the Interactive Prompt, Entering multiline statements, Running Files with Command Lines
exiting a session, Running Code Interactively
experimenting with code, Experimenting
files, running from, Running Files with Command Lines
multiline statements, entering, Entering multiline statements
testing code, Testing
tips for using, Using the Interactive Prompt
Internet scripting, Internet Scripting
interpreters, Introducing the Python Interpreter
introspection, Modules Are Objects: Metaprograms
introspection attributes, Increasing Levels of Magic
IronPython, IronPython, Where to Get Python
is operator, Comparisons, Equality, and Truth
“is-a” relationships, OOP and Inheritance: “Is-a” Relationships
is_integer method, Built-in Numeric Tools
items method, More Dictionary Methods, Dictionary View Iterators
iter function, Manual Iteration: iter and next
iteration, Manual Iteration: iter and next, Other Iteration Contexts, Iterations and Comprehensions,