Learning Python - Mark Lutz [635]
alternatives to, Static Method Alternatives
coding with decorator syntax, Function Decorator Basics
counting instances, Counting Instances with Static Methods
Python 2.6 and 3.0, Static Methods in 2.6 and 3.0
using, Using Static and Class Methods
staticmethod function, Using Static and Class Methods
steps, Extended slicing: the third limit and slice objects
StopIteration exception, The Iteration Protocol: File Iterators
str, Numbers, Numeric Display Formats, Strings, Strings, String Conversion Tools
repr, compared to, Numeric Display Formats
str object type, Text and Binary Files
data encoding in, Text and Binary Files
str string type, Other Ways to Code Strings, Python’s String Types, Python’s String Types, Coding Unicode Strings in Python 2.6
Python 2.6 operation set, Coding Unicode Strings in Python 2.6
Python 3.0 compared to 2.x, Python’s String Types
Unicode and, Other Ways to Code Strings
stream processors, Stream Processors Revisited
stream redirection, Running Files with Command Lines
strides, Extended slicing: the third limit and slice objects
string exceptions, String Exceptions Are Right Out!, Class-Based Exceptions
deprecation of, String Exceptions Are Right Out!
string formatting, String Formatting Expressions, Dictionary-Based String Formatting Expressions, Advanced String Formatting Expressions, Advanced String Formatting Expressions, Dictionary-Based String Formatting Expressions
advanced expressions, Advanced String Formatting Expressions
dictionary-based formatting expressions, Dictionary-Based String Formatting Expressions
string formatting type codes, Advanced String Formatting Expressions
string formatting method calls, String Formatting Method Calls, Possible future deprecation?, The Basics, Possible future deprecation?, Adding Keys, Attributes, and Offsets, Comparison to the % Formatting Expression, Why the New Format Method?
format method, The Basics, Possible future deprecation?, Comparison to the % Formatting Expression, Why the New Format Method?
% formatting expression, compared to, Comparison to the % Formatting Expression
justification for, Why the New Format Method?
keys, attributes, and offsets, Adding Keys, Attributes, and Offsets
string methods, String Methods, The Original string Module (Gone in 3.0), String Methods, String Method Examples: Changing Strings, String Method Examples: Parsing Text, Other Common String Methods in Action, The Original string Module (Gone in 3.0), Adding Specific Formatting
additional examples, Other Common String Methods in Action
changing strings example, String Method Examples: Changing Strings
parsing text example, String Method Examples: Parsing Text
Python 2.x string module, The Original string Module (Gone in 3.0)
string method calls to format method, Adding Specific Formatting
string method calls, Python 3.0, String Methods
string object type, Strings, Pattern Matching, Sequence Operations, Other Ways to Code Strings, Other Ways to Code Strings, Pattern Matching, Strings, Triple Quotes Code Multiline Block Strings, Strings, Strings, String Literals, Triple Quotes Code Multiline Block Strings, Single- and Double-Quoted Strings Are the Same, Escape Sequences Represent Special Bytes, Escape Sequences Represent Special Bytes, Escape Sequences Represent Special Bytes, Raw Strings Suppress Escapes, Triple Quotes Code Multiline Block Strings, String Changes in 3.0
coding special characters, Other Ways to Code Strings
pattern matching, Pattern Matching
raw string literals, Other Ways to Code Strings
sequence operations and, Sequence Operations
string literals, Strings, String Literals, Triple Quotes Code Multiline Block Strings, Single- and Double-Quoted Strings Are the Same, Escape Sequences Represent Special Bytes, Escape Sequences Represent Special Bytes, Escape Sequences Represent Special Bytes, Raw Strings Suppress Escapes, Triple Quotes Code Multiline Block Strings
common literals and operations, Strings
escape sequences, Escape Sequences Represent