Discover how to build practical, engaging Python applications through eight engaging projects that span databases, web development, games, AI, and more. You will move beyond basic syntax and tutorials to create complete, functional programs that solve interesting problems: from managing intergalactic sample databases to translating alien languages with large language models (LLMs).
Each project introduces essential programming concepts in context, showing you not just the "what" but the "why" behind every technique. You will work with SQLite databases to store and retrieve data, build dynamic web applications using the Django framework, and create an interactive side-scrolling game with Pygame. The projects progress through data visualization with Matplotlib, procedural generation of entire planetary systems, and API integration with NASA's exoplanet archive.
Security fundamentals come alive as you implement public-key cryptography to build a secure messaging system. You will understand encryption, digital signatures, and key management through hands-on coding rather than abstract theory. The final project brings everything together by connecting to the OpenAI and Anthropic APIs, teaching you prompt engineering and how to maintain state across AI conversations.
Throughout these projects, you will develop transferable skills that apply across programming domains: working with external libraries, handling errors gracefully, parsing JSON responses, and structuring code for maintainability. Each chapter includes suggestions for extensions, encouraging you to customize and expand upon what you have built.
What You Will Learn
Who This Book Is For
Python programmers who have learned the basics and want to apply their skills to complete, practical projects. Prior experience with Python fundamentals including functions, classes, and file handling is assumed.
Unique Selling Points
Covers cutting-edge AI integration with both OpenAI and Anthropic APIs, including prompt engineering and stateful conversations
Includes eight complete projects spanning databases, web development, games, visualization, cryptography, and AI - providing broad exposure to professional Python development
Features a space and science fiction theme throughout all projects, making learning engaging while covering serious programming concepts
Table of Contents
Chapter 1: Intergalactic Sample Database
Chapter 2: Intergalactic Samples Web Application
Chapter 3: Side-Scrolling Space Game
Chapter 4: Cosmic Ray Visualizer
Chapter 5: Procedural Planetary System Generator
Chapter 6: Exoplanet Expedition Planner
Chapter 7: Securing the Ansible
Chapter 8: Alien Language Translator
外文書商品之書封,為出版社提供之樣本。實際出貨商品,以出版社所提供之現有版本為主。部份書籍,因出版社供應狀況特殊,匯率將依實際狀況做調整。
無庫存之商品,在您完成訂單程序之後,將以空運的方式為你下單調貨。為了縮短等待的時間,建議您將外文書與其他商品分開下單,以獲得最快的取貨速度,平均調貨時間為1~2個月。
為了保護您的權益,「三民網路書店」提供會員七日商品鑑賞期(收到商品為起始日)。
若要辦理退貨,請在商品鑑賞期內寄回,且商品必須是全新狀態與完整包裝(商品、附件、發票、隨貨贈品等)否則恕不接受退貨。