Online Book Reader

Home Category

Learning Python - Mark Lutz [624]

By Root 1911 0
Links, Simple Names: Global Unless Assigned, Attribute Names: Object Namespaces, The “Zen” of Python Namespaces: Assignments Classify Names, The “Zen” of Python Namespaces: Assignments Classify Names, Namespace Dictionaries, Namespace Dictionaries, Namespace Links

attribute names, Attribute Names: Object Namespaces

name assignment, The “Zen” of Python Namespaces: Assignments Classify Names, The “Zen” of Python Namespaces: Assignments Classify Names

namespace dictionaries, Namespace Dictionaries, Namespace Dictionaries

namespace links, Namespace Links

simple names, Simple Names: Global Unless Assigned

negative offsets, Indexing and Slicing

nested scopes, Scopes and Nested Functions, Arbitrary scope nesting, Nested Scope Examples, Factory functions, Nested scopes and lambdas, Arbitrary scope nesting

abitrary nesting, Arbitrary scope nesting

examples, Nested Scope Examples

factory functions, Factory functions

lambdas and, Nested scopes and lambdas

nester.py, Methods, Classes, and Nested Scopes

.NET and IronPython, IronPython

NetBeans, Other IDEs

“new-style” classes, The “New-Style” Class Model, Class Properties, New-Style Class Changes, Scope of search order change, Type Model Changes, All objects derive from “object”, Implications for type testing, All objects derive from “object”, Diamond Inheritance Change, Scope of search order change, Diamond inheritance example, Explicit conflict resolution, Scope of search order change, New-Style Class Extensions, Metaclasses, Instance Slots, Multiple __slot__ lists in superclasses, Slots and generic code, Multiple __slot__ lists in superclasses, Class Properties, Class Properties, __getattribute__ and Descriptors, Metaclasses

changes, New-Style Class Changes, Scope of search order change

class extensions, New-Style Class Extensions, Metaclasses, Instance Slots, Multiple __slot__ lists in superclasses, Slots and generic code, Multiple __slot__ lists in superclasses, Class Properties, Class Properties, __getattribute__ and Descriptors, Metaclasses

class properties, Class Properties, Class Properties

instance slots, Instance Slots, Multiple __slot__ lists in superclasses

metaclasses, Metaclasses

multiple __slot__ lists in superclasses, Multiple __slot__ lists in superclasses

slots and generic code, Slots and generic code

__getattribute__ method, __getattribute__ and Descriptors

diamond inheritance change, Diamond Inheritance Change, Scope of search order change, Diamond inheritance example, Explicit conflict resolution, Scope of search order change

example, Diamond inheritance example

explicit conflict resolution, Explicit conflict resolution

scope of search order, Scope of search order change

type model changes, Type Model Changes, All objects derive from “object”, Implications for type testing, All objects derive from “object”

object type objects, All objects derive from “object”

type testing implications, Implications for type testing

next function, Manual Iteration: iter and next

__next__ method, The Iteration Protocol: File Iterators

non-ASCII text, coding, encoding and decoding, Coding Non-ASCII Text, Encoding and Decoding Non-ASCII text

None object, The None object

nonlocal statement, Python’s Statements, Scope Rules, The nonlocal Statement, State with function attributes, nonlocal Basics, nonlocal in Action, Boundary cases, Why nonlocal?, State with function attributes, Shared state with globals

absence from Python 2.6, Python’s Statements

basics, nonlocal Basics

examples, nonlocal in Action, Boundary cases

boundary cases, Boundary cases

justification for, Why nonlocal?, State with function attributes

Python 2.6 alternatives, Shared state with globals

normal integers (Python 2.6), Numeric Literals

number object type, Numbers

number operations, Numbers in Action, Other Built-in Numeric Tools, Variables and Basic Expressions, Variables and Basic Expressions, Numeric Display Formats, Comparisons: Normal and Chained, Comparisons: Normal and Chained, Division: Classic, Floor, and True, Why does truncation matter?, Integer Precision,

Return Main Page Previous Page Next Page

®Online Book Reader