indenting - interactive loops example - listed - modules and parentheses and python syntax model - quiz questions and answers semicolon and special case rules - - syntax rules - terminating version considerations static methods about alternatives for counting instances usage considerations - version considerations - staticmethod built-in function - steps in slicing stopiteration exception storing objects and data binary data class building example - class gotchas in files - in json format - pickle module on shelve database strings struct module str built-in function about display formats string formatting method calls and usage example version considerations __str__ method about - custom print displays inheritance and print display example - str string type about - converting encoded text re module and text files and unicode literals version considerations stream redirection strides in slicing string formatting about converting integers to strings expressions technique - literals method calls technique - nesting type codes - string module about - relative imports examples - strings (str objectabout - __add__ method alternate ways to code backslash characters - casefold method changing - coding - common operations - comparison operations concatenating converting - debugging decode method documentation - empty strings encode method endswith method exceptions based on find method format method - formatting (see string formattinggarbage collection and immutable importing modules by name string indexing - isdigit method join method literals - - lower method multiline block strings - index