• Complain

Al Sweigart - The Big Book of Small Python Projects: 81 Easy Practice Programs

Here you can read online Al Sweigart - The Big Book of Small Python Projects: 81 Easy Practice Programs full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2021, publisher: No Starch Press, genre: Computer. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

Al Sweigart The Big Book of Small Python Projects: 81 Easy Practice Programs
  • Book:
    The Big Book of Small Python Projects: 81 Easy Practice Programs
  • Author:
  • Publisher:
    No Starch Press
  • Genre:
  • Year:
    2021
  • Rating:
    5 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 100
    • 1
    • 2
    • 3
    • 4
    • 5

The Big Book of Small Python Projects: 81 Easy Practice Programs: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "The Big Book of Small Python Projects: 81 Easy Practice Programs" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

Best-selling author Al Sweigart shows you how to easily build over 80 fun programs with minimal code and maximum creativity.If youve mastered basic Python syntax and youre ready to start writing programs, youll 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, youll 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 its 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. Youll 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 Vigenre to conceal text If youre tired of standard step-by-step tutorials, youll love the learn-by-doing approach of The Big Book of Small Python Projects. Its proof that good things come in small programs!

Al Sweigart: author's other books


Who wrote The Big Book of Small Python Projects: 81 Easy Practice Programs? Find out the surname, the name of the author of the book and a list of all author's works by series.

The Big Book of Small Python Projects: 81 Easy Practice Programs — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "The Big Book of Small Python Projects: 81 Easy Practice Programs" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
The Big Book of Small Python Projects 81 Easy Practice Programs Al Sweigart - photo 1
The Big Book of Small Python Projects
81 Easy Practice Programs

Al Sweigart

THE BIG BOOK OF SMALL PYTHON PROJECTS Copyright 2021 by Al Sweigart All - photo 2

THE BIG BOOK OF SMALL PYTHON PROJECTS. Copyright 2021 by Al Sweigart.

All rights reserved. No part of this work may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying, recording, or by any information storage or retrieval system, without the prior written permission of the copyright owner and the publisher.

ISBN-13: 978-1-7185-0124-9 (print)
ISBN-13: 978-1-7185-0125-6 (ebook)

Publisher: William Pollock
Production Manager: Rachel Monaghan
Production Editor: Paula Williamson
Developmental Editor: Frances Saux
Technical Reviewer: Sarah Kuchinsky
Cover and Interior Design: Octopod Studios
Cover Illustrator: Josh Ellingson
Copyeditor: Bart Reed
Compositor: Maureen Forys, Happenstance Type-O-Rama
Proofreader: Scout Festa

For information on book distributors or translations, please contact No Starch Press, Inc. directly:
No Starch Press, Inc.
245 8th Street, San Francisco, CA 94103
phone: 1-415-863-9900; info@nostarch.com
www.nostarch.com

Library of Congress Control Number: 2021936413

No Starch Press and the No Starch Press logo are registered trademarks of No Starch Press, Inc. Other product and company names mentioned herein may be the trademarks of their respective owners. Rather than use a trademark symbol with every occurrence of a trademarked name, we are using the names only in an editorial fashion and to the benefit of the trademark owner, with no intention of infringement of the trademark.

The information in this book is distributed on an As Is basis, without warranty. While every precaution has been taken in the preparation of this work, neither the author nor No Starch Press, Inc. shall have any liability to any person or entity with respect to any loss or damage caused or alleged to be caused directly or indirectly by the information contained in it.

About the Author

Al Sweigart is a software developer, author, and Fellow of the Python Software Foundation. He was previously the education director at Oakland, Californias video game museum, The Museum of Art and Digital Entertainment. He has written several programming books, including Automate the Boring Stuff with Python and Invent Your Own Computer Games with Python. His books are freely available under a Creative Commons license at his website https://inventwithpython.com. His cat Zophie loves eating nori seaweed snacks.

About the Technical Reviewer

Sarah Kuchinsky, MS, is a corporate trainer and consultant. She uses Python for a variety of applications, including health systems modeling, game development, and task automation. Sarah is a co-founder of the North Bay Python conference, tutorials chair for PyCon US, and lead organizer for PyLadies Silicon Valley. She holds degrees in Management Science & Engineering and Mathematics.

Introduction
Programming was so easy when it was just following printHello world - photo 3

Programming was so easy when it was just following print('Hello, world!') tutorials. Perhaps youve followed a well-structured book or online course for beginners, worked through the exercises, and nodded along with its technical jargon that you (mostly) understood. However, when it came time to leave the nest to write your own programs, maybe you found it hard to fly on your own. You found yourself staring at a blank editor window and unsure of how to get started writing Python programs of your own.

The problem is that following a tutorial is great for learning concepts, but that isnt necessarily the same thing as learning to create original programs from scratch. The common advice given at this stage is to examine the source code of open source software or to work on your own projects, but open source projects arent always well documented or especially accessible to newcomers. And while its motivating to work on your own project, youre left completely without guidance or structure.

This book provides you with practice examples of how programming concepts are applied, with a collection of over 80 games, simulations, and digital art programs. These arent code snippets; theyre full, runnable Python programs. You can copy their code to become familiar with how they work, experiment with your own changes, and then attempt to re-create them on your own as practice. After a while, youll start to get ideas for your own programs and, more importantly, know how to go about creating them.

How to Design Small Programs

Programming has proven to be a powerful skill, creating billion-dollar tech companies and amazing technological advances. Its easy to want to aim high with your own software creations, but biting off more than you can chew can leave you with half-finished programs and frustration. However, you dont need to be a computer genius to code fun and creative programs.

The Python programs in this book follow several design principles to aid new programmers in understanding their source code:

  1. Small Most of these programs are limited to 256 lines of code and are often significantly shorter. This size limit makes them easier to comprehend. The choice of 256 is arbitrary, but 256 is also 28, and powers of 2 are lucky programmer numbers.
  2. Text based Text is simpler than graphics. Since the source code and program output are both text, its easy to trace the cause and effect between print('Thanks for playing!') in the code and Thanks for playing! appearing on the screen.
  3. No installation needed Each program is self-contained in a single Python source file with the .py file extension, like tictactoe.py. You dont need to run an installer program, and you can easily post these programs online to share with others.
  4. Numerous There are 81 programs in this book. Between board games, card games, digital artwork, simulations, mathematical puzzles, mazes, and humor programs, youre bound to find many things youll love.
  5. Simple The programs have been written to be easy to understand by beginners. Whenever I had to choose between writing code using sophisticated, high-performance algorithms or writing plain, straightforward code, Ive chosen the latter every time.

The text-based programs may seem old school, but this style of programming cuts out the distractions and potholes that downloading graphics, installing additional libraries, and managing project folders bring. Instead, you can just focus on the code.

Who Is This Book For?

This book is written for two groups of people. The people in the first group are those who have already learned the basics of Python and programming but are still unsure of how to write programs on their own. They may feel that programming hasnt clicked for them. They may be able to solve the practice exercises from their tutorials but still struggle to picture what a complete program looks like. By first copying and then later re-creating the games in this book, theyll be exposed to how the programming concepts theyve learned are assembled into a variety of real programs.

The people in the second group are those who are new to programming but are excited and a bit adventurous. They want to dive right in and get started making games, simulations, and number-crunching programs right away. Theyre fine with copying the code and learning along the way. Or perhaps they already know how to program in another language but are new to Python. While its no substitute for a complete introductory Python course, this book contains a brief introduction to Python basics and how to use the debugger to examine the inner workings of a program as it runs.

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «The Big Book of Small Python Projects: 81 Easy Practice Programs»

Look at similar books to The Big Book of Small Python Projects: 81 Easy Practice Programs. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «The Big Book of Small Python Projects: 81 Easy Practice Programs»

Discussion, reviews of the book The Big Book of Small Python Projects: 81 Easy Practice Programs and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.