Impractical Python Projects

Impractical Python Projects

Playful Programming Activities to Make You Smarter
by Lee Vaughan
November 2018, 424 pp.
ISBN-13: 
978-1-59327-890-8

Order now and get early access to the PDF ebook!
(What’s Early Access?)
(Which chapters are available now?)

Download the code files and solutions to the book's programs at its GitHub page

Get 30% off with the coupon code EARLYBIRD

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.

Author Bio 

Lee Vaughan is a geologist with over 30 years' experience in the petroleum industry. As the Senior Technical Professional for Geological Modeling at a major international oil company, he was involved in the construction and review of computer models, the development, testing, and commercialization of software, and the training of geoscientists and engineers. An advocate for nonprogrammers who must use programming in their careers, he wrote Impractical Python Projects to help self-learners hone their skills with the Python language.

Table of contents 

Now Available in Early Access!

Introduction
Chapter 1: Silly Pseudonyms (Available Now!)
Chapter 2: Pugnacious Palingrams (Available Now!)
Chapter 3: What’s in a Name? Anagrams! (Available Now!)
Chapter 4: Civil War Ciphers (Available Now!)
Chapter 5: The Null Cipher (Available Now!)
Chapter 6: Elementary Ink (Available Now!)
Chapter 7: Genetic Algorithms (Available Now!)
Chapter 8: Python Poetry: Counting Syllables
Chapter 9: Python Poetry: The Markov Haiku
Chapter 10: Are We Alone? (Available Now!)
Chapter 11: The Monty Hall Problem (Available Now!)
Chapter 12: The Golden Nest Egg (Available Now!)
Chapter 13: The Plumes of Io
Chapter 14: The Mars Orbiter
Chapter 15: Aligning the Planets
Chapter 16: Benford’s Law
Appendix: Practice Project Solutions