The Big Book of Small Python Projects: 81 Easy Practice Programs
- 5h 31m
- Al Sweigart
- No Starch Press
- 2021
If you’ve mastered basic Python syntax and you’re ready to start writing programs, you’ll find The Big Book of Small Python Projects both enlightening and fun. This collection of 81 Python projects will have you making digital art, games, animations, counting pro- grams, and more right away. Once you see how the code works, you’ll practice re-creating the programs and experiment by adding your own custom touches.
These simple, text-based programs are 256 lines of code or less. And whether it’s a vintage screensaver, a snail-racing game, a clickbait headline generator, or animated strands of DNA, each project is designed to be self-contained so you can easily share it online.
You’ll create:
- Hangman, Blackjack, and other games to play against your friends or the computer
- Simulations of a forest fire, a million dice rolls, and a Japanese abacus
- Animations like a virtual fish tank, a rotating cube, and a bouncing DVD logo screensaver
- A first-person 3D maze game
- Encryption programs that use ciphers like ROT13 and Vigenère to conceal text
If you’re tired of standard step-by-step tutorials, you’ll love the learn-by-doing approach of The Big Book of Small Python Projects. It’s proof that good things come in small programs!
About the Author
Al Sweigart is a professional software developer who teaches programming to kids and adults. Sweigart has written several bestselling programming books for beginners, including Automate the Boring Stuff with Python, Beyond the Basic Stuff with Python, Invent Your Own Computer Games with Python, Cracking Codes with Python, and Coding with Minecraft (all from No Starch Press).
In this Book
-
Introduction
-
Bagels
-
Birthday Paradox
-
Bitmap Message
-
Blackjack
-
Bouncing DVD Logo
-
Caesar Cipher
-
Caesar Hacker
-
Calendar Maker
-
Carrot in a Box
-
Cho-Han
-
Clickbait Headline Generator
-
Collatz Sequence
-
Conway’s Game of Life
-
Countdown
-
Deep Cave
-
Diamonds
-
Dice Math
-
Dice Roller
-
Digital Clock
-
Digital Stream
-
DNA Visualization
-
Ducklings
-
Etching Drawer
-
Factor Finder
-
Fast Draw
-
Fibonacci
-
Fish Tank
-
Flooder
-
Forest Fire Sim
-
Four in a Row
-
Guess the Number
-
Gullible
-
Hacking Minigame
-
Hangman and Guillotine
-
Hex Grid
-
Hourglass
-
Hungry Robots
-
J’Accuse!
-
Langton’s Ant
-
Leetspeak
-
Lucky Stars
-
Magic Fortune Ball
-
Mancala
-
Maze Runner 2D
-
Maze Runner 3D
-
Million Dice Roll Statistics Simulator
-
Mondrian Art Generator
-
Monty Hall Problem
-
Multiplication Table
-
Ninety-Nine Bottles
-
niNety-nniinE BoOttels
-
Numeral System Counters
-
Periodic Table of the Elements
-
Pig Latin
-
Powerball Lottery
-
Prime Numbers
-
Progress Bar
-
Rainbow
-
Rock Paper Scissors
-
Rock Paper Scissors (Always-Win Version)
-
ROT13 Cipher
-
Rotating Cube
-
Royal Game of Ur
-
Seven-Segment Display Module
-
Shining Carpet
-
Simple Substitution Cipher
-
Sine Message
-
Sliding Tile Puzzle
-
Snail Race
-
Soroban Japanese Abacus
-
Sound Mimic
-
sPoNgEcAsE
-
Sudoku Puzzle
-
Text-to-Speech Talker
-
Three-Card Monte
-
Tic-Tac-Toe
-
Tower of Hanoi
-
Trick Questions
-
Twenty Forty-Eight
-
Vigenère Cipher
-
Water Bucket Puzzle