Book description
Impractical Python Projects picks up where the complete beginner books leave off, expanding on existing concepts and introducing new tools that you’ll use every day. And to keep things interesting, each project includes a zany twist featuring historical incidents, pop culture references, and literary allusions.
You’ll flex your problem-solving skills and employ Python’s many useful libraries to do things like:
• Help James Bond crack a high-tech safe with a hill-climbing algorithm• Write haiku poems using Markov Chain Analysis
• Use genetic algorithms to breed a race of gigantic rats
• Crack the world’s most successful military cipher using cryptanalysis
• Foil corporate security with invisible electronic ink
• Derive the anagram, “I am Lord Voldemort” using linguistical sieves
• Plan your parents’ secure retirement with Monte Carlo simulation
• Save the sorceress Zatanna from a stabby death using palingrams
• Model the Milky Way and calculate our odds of detecting alien civilizations
• Help the world’s smartest woman win the Monty Hall problem argument
• Reveal Jupiter’s Great Red Spot using optical stacking
• Save the head of Mary, Queen of Scots with steganography
Simulate volcanoes, map Mars, and more, all while gaining valuable experience using free modules like Tkinter, matplotlib, Cprofile, Pylint, Pygame, Pillow, and Python-Docx.
Whether you’re looking to pick up some new Python skills or just need a pick-me-up, you’ll find endless educational, geeky fun with Impractical Python Projects.
Table of contents
- Cover Page
- Title Page
- Copyright Page
- Dedication
- About the Author
- About the Technical Reviewer
- BRIEF CONTENTS
- CONTENTS IN DETAIL
- ACKNOWLEDGMENTS
- INTRODUCTION
- 1 SILLY NAME GENERATOR
- 2 FINDING PALINGRAM SPELLS
- 3 SOLVING ANAGRAMS
- 4 DECODING AMERICAN CIVIL WAR CIPHERS
- 5 ENCODING ENGLISH CIVIL WAR CIPHERS
- 6 WRITING IN INVISIBLE INK
- 7 BREEDING GIANT RATS WITH GENETIC ALGORITHMS
- 8 COUNTING SYLLABLES FOR HAIKU POETRY
- 9 WRITING HAIKU WITH MARKOV CHAIN ANALYSIS
-
10 ARE WE ALONE? EXPLORING THE FERMI PARADOX
- Project #17: Modeling the Milky Way
- The Strategy
- Estimating the Number of Civilizations
- Selecting Radio Bubble Dimensions
- Generating a Formula for the Probability of Detection
- The Probability-of-Detection Code
- Building the Graphical Model
- Results
- Summary
- Further Reading
- Practice Projects
- Challenge Projects
- 11 THE MONTY HALL PROBLEM
- 12 SECURING YOUR NEST EGG
- 13 SIMULATING AN ALIEN VOLCANO
- 14 MAPPING MARS WITH THE MARS ORBITER
- 15 IMPROVING YOUR ASTROPHOTOGRAPHY WITH PLANET STACKING
- 16 FINDING FRAUDS WITH BENFORD’S LAW
-
APPENDIX PRACTICE PROJECT SOLUTIONS
- Chapter 1: Silly Name Generator
- Chapter 2: Finding Palingram Spells
- Chapter 3: Solving Anagrams
- Chapter 4: Decoding American Civil War Ciphers
- Chapter 5: Encoding English Civil War Ciphers
- Chapter 6: Writing in Invisible Ink
- Chapter 8: Counting Syllables for Haiku Poetry
- Chapter 10: Are We Alone? Exploring the Fermi Paradox
- Chapter 11: The Monty Hall Problem
- Chapter 13: Simulating an Alien Volcano
- Chapter 16: Finding Frauds with Benford’s Law
- INDEX
Product information
- Title: Impractical Python Projects
- Author(s):
- Release date: November 2018
- Publisher(s): No Starch Press
- ISBN: 9781593278908
You might also like
book
Tiny Python Projects
A long journey is really a lot of little steps. The same is true when you're …
book
The Big Book of Small Python Projects
If you’ve mastered basic Python syntax and you’re ready to start writing programs, you’ll find The …
book
Python Workout
The only way to master a skill is to practice. In Python Workout, author Reuven M. …
book
Robust Python
Does it seem like your Python projects are getting bigger and bigger? Are you feeling the …