Impractical Python Projects: Playful Programming Activities to Make You Smarter
暫譯: 不實用的 Python 專案:有趣的程式設計活動讓你更聰明

Lee Vaughan

買這商品的人也買了...

商品描述

Impractical Python Projects is a collection of fun and educational projects designed to entertain programmers while enhancing their Python skills. It 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
- 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
- Foil corporate security with invisible electronic ink

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.

商品描述(中文翻譯)

不切實際的 Python 專案》是一系列有趣且具教育意義的專案,旨在娛樂程式設計師的同時提升他們的 Python 技能。這本書接續初學者書籍的內容,擴展現有概念並介紹你每天都會使用的新工具。為了保持趣味性,每個專案都包含一個古怪的轉折,涉及歷史事件、流行文化參考和文學典故。

你將鍛鍊你的問題解決能力,並利用 Python 的許多有用庫來完成以下任務:
- 幫助詹姆斯·邦德使用爬山演算法破解高科技保險箱
- 使用馬可夫鏈分析寫出俳句
- 利用遺傳演算法培育一種巨型老鼠
- 使用密碼分析破解世界上最成功的軍事密碼
- 使用語言篩選推導出「I am Lord Voldemort」的字謎
- 使用蒙地卡羅模擬為你的父母規劃安全的退休生活
- 使用對稱詞拯救女巫扎坦娜免於被刺死
- 模擬銀河系並計算我們偵測外星文明的機率
- 幫助世界上最聰明的女性贏得蒙提霍爾問題的辯論
- 使用光學堆疊揭示木星的大紅斑
- 使用隱寫術拯救蘇格蘭女王瑪麗的頭顱
- 用隱形電子墨水破解企業安全

模擬火山、繪製火星等,同時獲得使用免費模組如 Tkinter、matplotlib、Cprofile、Pylint、Pygame、Pillow 和 Python-Docx 的寶貴經驗。

無論你是想學習一些新的 Python 技能,還是只是需要一點提振,你都會在《不切實際的 Python 專案》中找到無盡的教育性和極客趣味。

目錄大綱

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 7: Breeding Giant Rats with Genetic Algorithms
Chapter 8: Counting Syllables for Haiku Poetry
Chapter 9: Writing Haiku with Markov Chain Analysis
Chapter 10: Are We Alone? Exploring the Fermi Paradox
Chapter 11: The Monty Hall Problem
Chapter 12: Securing your Nest Egg
Chapter 13: Simulating an Alien Volcano
Chapter 14: Mapping Mars with the Mars Orbiter
Chapter 15: Improving Your Astrophotography with Planet Stacking
Chapter 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 7: Breeding Giant Rats with Genetic Algorithms

Chapter 8: Counting Syllables for Haiku Poetry

Chapter 9: Writing Haiku with Markov Chain Analysis

Chapter 10: Are We Alone? Exploring the Fermi Paradox

Chapter 11: The Monty Hall Problem

Chapter 12: Securing your Nest Egg

Chapter 13: Simulating an Alien Volcano

Chapter 14: Mapping Mars with the Mars Orbiter

Chapter 15: Improving Your Astrophotography with Planet Stacking

Chapter 16: Finding Frauds with Benford's Law

Appendix: Practice Project Solutions

最後瀏覽商品 (20)