strings and serialization strings string manipulation string formatting escaping braces keyword arguments container lookups object lookups making it look right strings are unicode mutable byte strings regular expressions matching patterns converting bytes to text converting text to bytes matching selection of characters escaping characters matching multiple characters grouping patterns together getting information from regular expressions making repeated regular expressions efficient serializing objects customizing pickles serializing web objects case study exercises summary the iterator pattern design patterns in brief iterators the iterator protocol comprehensions list comprehensions set and dictionary comprehensions generator expressions generators yield items from another iterable coroutines back to log parsing closing coroutines and throwing exceptions the relationship between coroutinesgeneratorsand functions iv