Index

A note on the digital index

A link in an index entry is displayed as the section title in which that entry appears. Because some sections have multiple index markers, it is not unusual for an entry to have several links to the same section. Clicking on any link will take you directly to the place in the text in which the marker appears.

Symbols

# character, What Not to Type: Prompts and Comments, What Not to Type: Prompts and Comments, A First Script, Variables and Basic Expressions, Python Documentation Sources, # Comments
comments, What Not to Type: Prompts and Comments, A First Script, Variables and Basic Expressions, Python Documentation Sources, # Comments
directives, What Not to Type: Prompts and Comments
#! characters, Unix Script Basics, The Python 3.3 Windows Launcher: #! Comes to WindowsThe Python 3.3 Windows Launcher: #! Comes to Windows, Icon-Click Basics, A Windows Launcher TutorialStep 1: Using Version Directives in Files
% (percent sign), Starting an Interactive Session, What Not to Type: Prompts and Comments, Running Files with Command Lines, Formatting Expression Basics, Comparison to the % Formatting ExpressionComparison to the % Formatting Expression, Method Calls
formatting expression operator, Formatting Expression Basics, Comparison to the % Formatting ExpressionComparison to the % Formatting Expression, Method Calls
system shell prompt, Starting an Interactive Session, What Not to Type: Prompts and Comments, Running Files with Command Lines
( ) (parentheses), Comprehensions, Parentheses group subexpressions, Tuple syntax peculiarities: Commas and parentheses, Parentheses are optional, Statement rule special cases, Classes Are Customized by Inheritance
comprehensions and, Comprehensions
expression operators and, Parentheses group subexpressions
statements and, Parentheses are optional, Statement rule special cases
superclasses and, Classes Are Customized by Inheritance
tuples and, Tuple syntax peculiarities: Commas and parentheses
* (multiplication) operator, Numbers, Sequence Operations, Basic Operations, Basic List Operations
multiplying numbers, Numbers
repeating lists, Basic List Operations
repeating strings, Sequence Operations, Basic Operations
+ (plus) operator, Numbers, Sequence Operations, Basic Operations, Basic List Operations, Example: Catching Built-in Exceptions, Example: Catching Built-in Exceptions
adding numbers, Numbers
concatenating lists, Basic List Operations, Example: Catching Built-in Exceptions
concatenating strings, Sequence Operations, Basic Operations, Example: Catching Built-in Exceptions
+= in-place addition, In-Place Addition, bytearrays in Action
, (comma), Tuple syntax peculiarities: Commas and parentheses
/ / operator, Division: Classic, Floor, and TrueWhy does truncation matter?
/ operator, Division: Classic, Floor, and TrueWhy does truncation matter?
: (colon), What Python Adds
; (semicolon), End-of-line is end of statement, Statement rule special cases
<< (left-shift) operator, Character code conversions
== (equivalence) operator, Comparisons, Equality, and Truth
>>> prompt, Starting an Interactive Session, Running Code Interactively, Usage Notes: The Interactive Prompt
about, Starting an Interactive Session, Running Code Interactively
common usage mistakes, Usage Notes: The Interactive Prompt
@ symbol, Property basics, Using Static and Class Methods, Function Decorator Basics, Function Decorator Basics, Usage
about, Using Static and Class Methods, Function Decorator Basics
function decorators and, Property basics, Function Decorator Basics, Usage
[ ] (square brackets), Python’s Core Data Types, Adding Keys, Attributes, and Offsets, Statement rule special cases
\ (backslash), Other Ways to Code Strings, Escape Sequences Represent Special CharactersRaw Strings Suppress Escapes, Statement rule special cases, Statement Delimiters: Lines and Continuations
escape sequences and, Other Ways to Code Strings, Escape Sequences Represent Special CharactersRaw Strings Suppress Escapes
multiline statements and, Statement rule special cases, Statement Delimiters: Lines and Continuations
_ (underscore), The Grander Module Story: Attributes, Getting Help, Minimizing from * Damage: _X and __all__, Classes Can Intercept Python Operators, Name Considerations in Tool Classes, Name Mangling Overview, Usage variation: Showing underscore name values
class names, Name Considerations in Tool Classes
module names, The Grander Module Story: Attributes, Minimizing from * Damage: _X and __all__
name mangling and, Name Mangling Overview
operator overloading, Getting Help, Classes Can Intercept Python Operators
showing name values, Usage variation: Showing underscore name values
{ } (curly braces), Mapping Operations, Statement rule special cases