num_pages: 440
description: Tiny Python Projects is a gentle and amusing introduction to Python that will firm up key programming concepts while also making you giggle.Amanda Debler Schaeffler Key FeaturesLearn new programming concepts through 21-bitesize programsBuild an insult generator a Tic-Tac-Toe AI a talk-like-a-pirate program and moreDiscover testing techniques that will make you a better programmerCode-along with free accompanying videos on YouTubePurchase of the print book includes a free eBook in PDF Kindle and ePub formats from Manning Publications.About The BookThe 21 fun-but-powerful activities in Tiny Python Projects teach Python fundamentals through puzzles and games. Youll be engaged and entertained with every exercise as you learn about text manipulation basic algorithms and lists and dictionaries and other foundational programming skills. Gain confidence and experience while you create each satisfying project.Instead of going quickly through a wide range of concepts this book concentrates on the most useful skills like text manipulation data structures collections and program logic with projects that include a password creator a word rhymer and a Shakespearean insult generator. Author Ken Youens-Clark also teaches you good programming practice including writing tests for your code as you go. What You Will LearnWrite command-line Python programsManipulate Python data structuresUse and control randomnessWrite and run tests for programs and functionsDownload testing suites for each projectThis Book Is Written ForFor readers familiar with the basics of Python programming.About The AuthorKen Youens-Clark is a Senior Scientific Programmer at the University of Arizona. He has an MS in Biosystems Engineering and has been programming for over 20 years.Table of Contents1 How to write and test a Python program2 The crows nest: Working with strings3 Going on a picnic: Working with lists4 Jump the Five: Working with dictionaries5 Howler: Working with files and STDOUT6 Words count: Reading files and STDIN iterating lists formatting strings7 Gashlycrumb: Looking items up in a dictionary8 Apples and Bananas: Find and replace9 Dial-a-Curse: Generating random insults from lists of words10 Telephone: Randomly mutating strings11 Bottles of Beer Song: Writing and testing functions12 Ransom: Randomly capitalizing text13 Twelve Days of Christmas: Algorithm design14 Rhymer: Using regular expressions to create rhyming words15 The Kentucky Friar: More regular expressions16 The Scrambler: Randomly reordering the middles of words17 Mad Libs: Using regular expressions18 Gematria: Numeric encoding of text using ASCII values19 Workout of the Day: Parsing CSV files creating text table output20 Password strength: Generating a secure and memorable password21 Tic-Tac-Toe: Exploring state22 Tic-Tac-Toe redux: An interactive version with type hints 
language: English
title: Tiny Python Projects: 21 small fun projects for Python beginners designed to build programming skill, teach new algorithms and techniques, and introduce software testing
publisher: Manning