Tiny Python Projects
Learn coding and testing with puzzles and games
Paperback Engels 2020 9781617297519Samenvatting
A long journey is really a lot of little steps. The same is true when you’re learning Python, so you may as well have some fun along the way! Written in a light-hearted style with entertaining exercises that build powerful skills, Tiny Python Projects takes you from amateur to Pythonista as you create 19 bitesize programs.
Key Features
· Write command-line Python programs
· Process a variety of command-line arguments, options, and flags
· Write and run tests for programs and functions
· Manipulate Python data structures including strings, lists, tuples, and dictionaries
For readers with beginning programming skills in Python or another language.
Specificaties
Lezersrecensies
Inhoudsopgave
Preface. Why Write Python? Chapters
0 Getting Started: Introduction and Installation Guide
1 How to write and test a Python program
2 The Crow’s Nest: Working with strings
3 Going on a picnic: Working with lists
4 Jump the Five: Working with dictionaries
5 Howler: Working with files and STDOUT
6 Words Count: Reading files/STDIN, iterating lists, formatting strings
7 Gashlycrumb: Looking items up in a dictionary
8 Apples and Bananas: Find and replace
9 Dial-A-Curse: Generating random insults from lists of words
10 Telephone: Randomly mutating strings
11 Bottles of Beer Song: Writing and testing functions
12 Ransom: Randomly capitalizing text
13 Twelve Days of Christmas: Algorithm design
14 Rhymer: Using regular expressions to create rhyming words
15 The Kentucky Friar: More regular expressions
16 The Scrambler: Randomly reordering the middles of words
17 Mad Libs: Using regular expressions
18 Gematria: Numeric encoding of text using ASCII values
19 Workout Of the Day: Parsing CSV file, creating text table output
20 Password Strength: Generating a secure and memorable password
21 Tic-Tac-Toe: Exploring state
22 Tic-Tac-Toe Redux: An interactive version with type hints
App A. Using argparse
MEAP VERSION 6
Epilogue
Rubrieken
- advisering
- algemeen management
- coaching en trainen
- communicatie en media
- economie
- financieel management
- inkoop en logistiek
- internet en social media
- it-management / ict
- juridisch
- leiderschap
- marketing
- mens en maatschappij
- non-profit
- ondernemen
- organisatiekunde
- personal finance
- personeelsmanagement
- persoonlijke effectiviteit
- projectmanagement
- psychologie
- reclame en verkoop
- strategisch management
- verandermanagement
- werk en loopbaan
