Online Book Reader

Home Category

Learning Python - Mark Lutz [619]

By Root 1918 0
Bounds Checking, Nesting

bounds checking, Bounds Checking

nesting, Nesting

type specific operations, Type-Specific Operations

list-unpacking assignment statements, Assignment Statement Forms

lister.py, Listing instance attributes with __dict__

ListInstance class, Listing instance attributes with __dict__, Listing instance attributes with __dict__

lists, Lists, Lists, Lists, Basic List Operations, List Iteration and Comprehensions, Indexing, Slicing, and Matrixes, Changing Lists In-Place, Other common list operations, Index and slice assignments, List method calls, List method calls, Other common list operations

basic operations, Basic List Operations

changing in place, Changing Lists In-Place, Other common list operations, Index and slice assignments, List method calls, List method calls, Other common list operations

deleting items or sections in place, Other common list operations

index and slice assignments, Index and slice assignments

list method calls, List method calls, List method calls

coding of lists, Lists

common literals and operations, Lists

indexing, slicing, and matrixes, Indexing, Slicing, and Matrixes

iteration and comprehensions, List Iteration and Comprehensions

literals, Python’s Core Data Types

local scope, Scope Rules

local variables, Local Variables

long integers (Python 2.6), Numeric Literals

loop else block, break, continue, pass, and the Loop else

loop statement versus recursive functions, Loop Statements Versus Recursion

loops, A Quick Example: Interactive Loops, while and for Loops, Generating Both Offsets and Items: enumerate, while Loops, break, continue, pass, and the Loop else, General Loop Format, Loop else, for Loops, Nested for loops, Loop Coding Techniques, Generating Both Offsets and Items: enumerate, Counter Loops: while and range, Nonexhaustive Traversals: range and Slices, Changing Lists: range, Parallel Traversals: zip and map, Generating Both Offsets and Items: enumerate

break, continue, pass, and loop else clause, break, continue, pass, and the Loop else

coding techniques, Loop Coding Techniques, Generating Both Offsets and Items: enumerate

counter loops with while and range, Counter Loops: while and range

for statement, for Loops, Nested for loops

general format, General Loop Format

generation of offsets and items, Generating Both Offsets and Items: enumerate

interactive loops, A Quick Example: Interactive Loops (see interactive loops)

loop else clause, Loop else

nonexhaustive traversals with range and slices, Nonexhaustive Traversals: range and Slices

parallel traversals with zip and map, Parallel Traversals: zip and map

range function, Changing Lists: range

lists, changing with, Changing Lists: range

while statement, while Loops

M


Mac OS X Python command line, starting, The Interactive Prompt

makedb.py, Storing Objects on a Shelve Database

managed attributes, Managed Attributes, Coding Properties with Decorators, Why Manage Attributes?, Inserting Code to Run on Attribute Access, Inserting Code to Run on Attribute Access, Properties, Coding Properties with Decorators, A First Example, A First Example, Computed Attributes, Coding Properties with Decorators, Descriptors, How Properties and Descriptors Relate, The Basics, Descriptor method arguments, Read-only descriptors, A First Example, Computed Attributes, Using State Information in Descriptors, How Properties and Descriptors Relate, __getattr__ and __getattribute__, Delegation-Based Managers Revisited, The Basics, Avoiding loops in attribute interception methods, A First Example, Computed Attributes, __getattr__ and __getattribute__ Compared, Management Techniques Compared, Intercepting Built-in Operation Attributes, Delegation-Based Managers Revisited, Example: Attribute Validations, Using __getattribute__ to Validate, Using Properties to Validate, Using Descriptors to Validate, Using __getattr__ to Validate, Using __getattribute__ to Validate

attribute validations example, Example: Attribute Validations, Using __getattribute__ to Validate, Using Properties to Validate, Using

Return Main Page Previous Page Next Page

®Online Book Reader