Real-World Python: A Hacker's Guide to Solving Problems with Code

Vaughan, Lee



A project-based approach to learning Python programming for beginners. Intriguing projects teach you how to tackle challenging problems with code.

You've mastered the basics. Now you're ready to explore some of Python's more powerful tools. Real-World Python will show you how.

Through a series of hands-on projects, you'll investigate and solve real-world problems using sophisticated computer vision, machine learning, data analysis, and language processing tools. You'll be introduced to important modules like OpenCV, NumPy, Pandas, NLTK, Bokeh, Beautiful Soup, Requests, HoloViews, Tkinter, turtle, matplotlib, and more. You'll create complete, working programs and think through intriguing projects that show you how to:

- Save shipwrecked sailors with an algorithm designed to prove the existence of God
- Detect asteroids and comets moving against a starfield
- Program a robot sentry gun to shoot monsters and spare humans
- Select landing sites for a Mars probe using real NASA maps
- Send unbreakable messages based on a book code
- Survive a zombie outbreak using data science
- Discover exoplanets and alien megastructures orbiting distant stars
- Test the hypothesis that we're all living in a computer simulation
- And more

If you're tired of learning the bare essentials of Python programming with isolated snippets of code, you'll relish the relevant and geeky fun of Real-World Python




通過一系列的實踐專案,你將使用先進的計算機視覺、機器學習、數據分析和語言處理工具來研究和解決真實世界的問題。你將介紹重要的模組,如OpenCV、NumPy、Pandas、NLTK、Bokeh、Beautiful Soup、Requests、HoloViews、Tkinter、turtle、matplotlib等等。你將創建完整的、可運行的程式,並思考有趣的專案,向你展示如何:

- 使用一個設計用於證明上帝存在的演算法來拯救遇難的水手
- 在星空中檢測行星和彗星的運動
- 編寫一個機器人哨兵槍,射擊怪物並保護人類
- 使用真實的NASA地圖為火星探測器選擇著陸點
- 基於書籍密碼發送無法破解的訊息
- 使用數據科學在喪屍爆發中生存
- 發現繞著遙遠恆星運行的系外行星和外星人巨型結構
- 測試我們都生活在電腦模擬中的假設
- 還有更多



Lee Vaughan is a programmer, pop culture enthusiast, educator, and author of Impractical Python Projects
(No Starch Press). As a former executive-level scientist at ExxonMobil, he spent decades constructing and reviewing complex computer models, developed and tested software, and trained geoscientists and engineers.


Lee Vaughan 是一位程式設計師、流行文化愛好者、教育工作者,也是《Impractical Python Projects》(No Starch Press)一書的作者。作為前埃克森美孚公司的高級科學家,他花了數十年的時間建立和審查複雜的電腦模型,開發和測試軟體,並培訓地球科學家和工程師。