Synopses & Reviews
Synopsis
Deploy Python creatively and effectively through this collection of short coding projects carefullly curated by best-selling author and Python expert Al Sweigart. This curated collection of simple Python projects lets you dive right in and make digital art, games, animations, number-crunching tools and more - right away Forget standard step-by-step tutorials; instead, author Al Sweigart takes a learn-by-doing approach that provides you with over 80 programs to manually copy, run, and play with. Once you see how the code works, it's time to experiment with your own changes and practice re-creating them yourself.
Each project is a standalone mini-chapter that includes a sample run of the program's output, the source code, and suggestions for customization. Whether it's a vintage screensaver, a snail-racing game, a clickbait headline generator, or animated strands of your DNA, these simple, text-based programs are small - limited to 256 lines of code or less - and designed to be self-contained in a single source-code file so you can easily post and share them online.
You'll create:
● Hangman, Blackjack and other games to play against a computer or your friends
● Simulations of a spreading forest fire, a million dice rolls, and a Japanese abacus
● Animation programs, like a fish tank, a rotating cube, and a bouncing DVD logo
● Mazes that you design then escape from, and a 3D Maze Runner-like video game
● Encryption programs that use ciphers like ROT13 and Vigen re to conceal text
For those who've mastered basic Python syntax and are ready to have fun making programs, the projects in this book will spark new ideas for what's possible within just a few pages of code.
Synopsis
Best-selling author Al Sweigart shows you how to easily build over 80 fun programs with minimal code and maximum creativity. 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