Tiny Python Projects
Preface
Getting started Introduction and installation guide
How to write and test a Python program
The crow’s nest Working with strings
Going on a picnic Working with lists
Jump the Five Working with dictionaries
Howler Working with files and STDOUT
Words count Reading files and STDIN, iterating lists, formatting strings
Gashlycrumb Looking items up in a dictionary
Apples and Bananas Find and replace
Dial-a-Curse Generating random insults from lists of words
Telephone Randomly mutating strings
Bottles of Beer Song Writing and testing functions
Ransom Randomly capitalizing text
Twelve Days of Christmas Algorithm design
Rhymer Using regular expressions to create rhyming words
The Kentucky Friar More regular expressions
The scrambler Randomly reordering the middles of words
Mad LibsUsing regular expressions
Gematria Numeric encoding of text using ASCII values
Workout of the Day Parsing CSV files, creating text table output
Password strength Generating a secure and memorable password
Tic-Tac-Toe Exploring state
Tic-Tac-Toe redux An interactive version with type hints
Epilogue
Appendix: Using argparse
YouTube Playlist