The Big Book of Small Python Projects

81 Easy Practice Programs


The Big Book of Small Python Projects
The Big Book of Small Python Projects

Book Details

Author Al Sweigart
Publisher No Starch Press
Published 2021
Edition 1
Paperback 432 pages
Language English
ISBN-13 9781718501249
ISBN-10 1718501242
License Open Access

Book Description

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!


This book is published as open-access, which means it is freely available to read, download, and share without restrictions.

If you enjoyed the book and would like to support the author, you can purchase a printed copy (hardcover or paperback) from official retailers.

Download and Read Links

Share This Book

[localhost]# find . -name "*Similar_Books*"


Create Graphical User Interfaces with Python

Python

Add buttons, boxes, pictures and colours and more to your Python programs using the guizero library, which is quick, accessible, and understandable for all. This 156-page book is suitable for everyone, from beginners to experienced Python programmers who want to explore graphical user interfaces (GUIs). There are ten fun projects for you to create,

Practices of the Python Pro

Python

Professional developers know the many benefits of writing application code that's clean, well-organized, and easy to maintain. By learning and following established patterns and best practices, you can take your code and your career to a new level. With Practices of the Python Pro, you'll learn to design professional-level, clean, easily maintainab

Programming for Computations - Python, 2nd Edition

Python

This book presents computer programming as a key method for solving mathematical problems. This second edition of the well-received book has been extensively revised: All code is now written in Python version 3.6 (no longer version 2.7). In addition, the two first chapters of the previous edition have been extended and split up into five new chapte

Test-Driven Development with Python

Python Django JavaScript Selenium

By taking you through the development of a real web application from beginning to end, this hands-on guide demonstrates the practical advantages of test-driven development (TDD) with Python. You'll learn how to write and run tests before building each part of your app, and then develop the minimum amount of code required to pass those tests. The re

The SysAdmin Handbook

Server

Over the past two years, Simple-Talk has published articles on a variety of SysAdmin topics, from Exchange to Virtualization, and including everything from Powershell to Unified Messaging. We have brought the best of these articles together to form The SysAdmin Handbook. With over fifty articles packed into this book, it will be an essential refere

Invent Your Own Computer Games with Python, 3rd Edition

Python

Invent Your Own Computer Games with Python teaches you how to program in the Python language. Each chapter gives you the complete source code for a new game, and then teaches the programming concepts from the examples. Games include Guess the Number, Hangman, Tic Tac Toe, and Reversi. This book also has an introduction to making games with 2D graph