Table of Contents (Summary)
1 The Basics: Getting Started Quickly 1
2 List Data: Working with Ordered Data 47
3 Structured Data: Working with Structured Data 95
4 Code Reuse: Functions and Modules 145
5 Building a Webapp: Getting Real 195
6 Storing and Manipulating Data: Where to Put Your Data 243
7 Using a Database: Putting Python’s DB-API to Use 281
8 A Little Bit of Class: Abstracting Behavior and State 309
9 The Context Management Protocol: Hooking into Python’s with Statement 335
10 Function Decorators: Wrapping Functions 363
11 Exception Handling: What to Do When Things Go Wrong 413
11¾ A Little Bit of Threading: Dealing with Waiting 461
12 Advanced Iteration: Looping like Crazy 477
A Installing: Installing Python 521
B Pythonanywhere: Deploying Your Webapp 529
C Top Ten Things We Didn’t Cover: There’s Always More to Learn 539
D Top Ten Projects Not Covered: Even More Tools, Libraries, and Modules 551
E Getting Involved: The Python Community
- Log in to post comments