The Big Book of Small Python Projects

submited by
Style Pass
2021-07-15 14:30:07

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.

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.

Leave a Comment