From the eBook - Third edition.
Other books in O'Reilly's Head First series
Author of Head First Python
Table of Contents (the real thing)
How to use this Book: Intro
Who should probably back away from this book?
We know what you're thinking
We know what your brain is thinking
Metacognition: thinking about thinking
Let's install the latest Python
Python on its own is not enough
Install the latest Jupyter Notebook backend
Install the latest release of VS Code
Configure VS Code to your taste
Add two required extensions to VS Code
VS Code's Python support is state-of-the-art
The Technical Review Team
Chapter 1. Why Python?: Similar but Different
Getting ready to run some code
Preparing for your first Jupyter experience
Let's pop some code into your notebook editor
Press Shift+Enter to run your code
So... Python code really is easy to read... and run
What if you want more than one card?
Take a closer look at the card drawing code
The Big 4: list, tuple, dictionary, and set
Model your deck of cards with a set
The print dir combo mambo
Getting help with dir's output
Populate the set with cards
This feels like a deck of cards now
Let's pause and take stock
Python ships with a rich standard library
With Python you'll only write the code you need
Python's package ecosystem is to die for
Just when you thought you were done...
Chapter 2. Diving in: Let's Make a Splash
How is the Coach working right now?
The Coach needs a more capable stopwatch
The file and the spreadsheet are "related"
Our first task: Extract the filename's data
Everything is an object in Python
A string is an object with attributes
Take a moment to appreciate what you're looking at here
Extract the swimmer's data from the filename
Don't try to guess what a method does...
Splitting (aka, breaking apart) a string
There's still some work to do
Read error messages from the bottom up
Be careful when combining method calls
Let's try another string method
All that remains is to create some variables
Multiple assignment (aka unpacking)
Task #2: Process the data in the file
Chapter 3. Lists of Numbers: Processing List Data
Task #2: Process the data in the file
Grab a copy of the Coach's data
The open BIF works with files
Using with to open (and close) a file
Variables are created dynamically, as needed
The file's data is what you really want
We have the swimmer's data from the file
Let's take stock of our progress so far
Meet Python: Everyone loves list
Sharing your code: Modules of functions
Files and exceptions: Dealing with errors
Persistence: Saving data to files
Comprehending data: Work that data!
Custom data objects: Bundling code with data
Web development: Putting it all together
Mobile App development: Small devices
Manage your data: Handling input
Scaling your Webapp: Getting real
Dealing with complexity: Data wrangling
Leftovers: The top ten things (we didn't cover).