front matter
preface
acknowledgments
about this book
about the author
about the cover illustration
1 Developing a pragmatic learning strategy
1.1 Aiming at becoming a pragmatic programmer
Focusing on writing readable Python code
Considering maintainability even before you write any code
1.2 What Python can do well or as well as other languages
1.3 What Python can’t do or can’t do well
1.4 What you’ll learn in this book
Focusing on domain-independent knowledge
Solving problems through synthesis
Learning skills in context
Part 1 Using built-in data models
2 Processing and formatting strings
2.1 How do I use f-strings for string interpolation and formatting?
Formatting strings before f-strings
Using f-strings to interpolate variables
Using f-strings to interpolate expressions
Applying specifiers to format f-strings
Discussion