Tiny Python Projects
Learn coding and testing with puzzles and games

EPUB · English
Price and availability
EPUB eBookUS store
$55.99
Sign in to buyYou’ll review your order and final price before payment.
Download from your library after delivery. Protected eBooks need a compatible reading app.
For personal use under the eBook licence.
Territorial availability
Available in: Andorra, Austria, Australia, Belgium, Bulgaria, Canada, Switzerland, Cyprus, Czechia, Germany, Denmark, Estonia, Spain, Finland, France, United Kingdom, Guernsey, Greece, Croatia, Hungary, Ireland, Isle of Man, Iceland, Italy, Jersey, Japan, Liechtenstein, Lithuania, Luxembourg, Latvia, Monaco, Malta, Netherlands, Norway, Poland, Portugal, Romania, Sweden, Slovenia, Slovakia, San Marino, United States, Vatican City, South Africa
Publisher rights cover these stores: US, UK, Canada, EU, Australia. Checkout availability is shown above.
- Format
- EPUB
- DRM
- Not stated by the publisher
- Language
- English
- Publisher
- Manning
- Published
- 21 July 2020
- ISBN
- 9781638350835
- Subjects
- Programming & scripting languages: general, Programming and scripting languages: general
About this book
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 YouTubeAbout 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
Bibliographic data © Gardners Books Ltd.