Automate the Boring Stuff with Python, 3rd Edition
暫譯: 用 Python 自動化無聊的工作(第三版)

Sweigart, Al

  • 出版商: No Starch Press
  • 出版日期: 2025-05-20
  • 售價: $2,090
  • 貴賓價: 9.5$1,986
  • 語言: 英文
  • 頁數: 672
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1718503407
  • ISBN-13: 9781718503403
  • 相關分類: Python程式語言
  • 尚未上市,無法訂購

相關主題

商品描述

The bestselling introduction to Python programming, revised to include the latest Python features, improved explanations, and new chapters about databases and sound files.

If you've ever spent hours renaming files or updating hundreds of spreadsheet cells, you know how tedious tasks like these can be. But what if you could have your computer do this work for you?

In this fully revised third edition of Automate the Boring Stuff with Python, you'll learn how to use Python to write programs that do in minutes what would take you hours to do by hand--no prior programming experience required. Early chapters will teach you the fundamentals of Python through clear explanations and engaging examples. You'll write your first Python program; work with strings, lists, dictionaries, and other data structures; then use regular expressions to find and manipulate text patterns.

Once you've mastered the basics, you'll tackle projects that teach you to use Python to automate tasks like:

  • Searching the web, downloading content, and filling out forms
  • Finding, extracting, and manipulating text and data in files and spreadsheets
  • Copying, moving, renaming, or compressing saved files on your computerSplitting, merging, and extracting text from PDFs and Word documents
  • Interacting with applications through custom mouse and keyboard macros
  • Managing your inbox, unsubscribing from lists, and sending email or text notifications

New to this edition: All code and examples have been thoroughly updated. You'll also find four new chapters on database integration, speech recognition, and audio and video editing, as well as 16 new programming projects and expanded coverage of developer techniques like creating command line programs.

Don't spend your time on work a well-trained monkey could do. Even if you've never written a line of code, you can pass off that grunt work to your computer. Learn how in Automate the Boring Stuff with Python.

商品描述(中文翻譯)

這本暢銷的 Python 程式設計入門書,已修訂以包含最新的 Python 特性、改進的解釋,以及有關資料庫和音訊檔案的新章節。

如果你曾經花幾個小時重命名檔案或更新數百個電子表格的儲存格,你就知道這些繁瑣的任務有多麼乏味。但如果你可以讓電腦為你完成這些工作呢?

在這本全面修訂的第三版 用 Python 自動化無聊的工作 中,你將學會如何使用 Python 編寫程式,讓電腦在幾分鐘內完成你手動需要幾小時才能完成的工作——不需要任何程式設計經驗。早期章節將通過清晰的解釋和引人入勝的範例教你 Python 的基本概念。你將編寫你的第一個 Python 程式;處理字串、列表、字典和其他資料結構;然後使用正則表達式來查找和操作文本模式。

一旦你掌握了基礎知識,你將進行一些專案,教你如何使用 Python 自動化以下任務:


  • 在網路上搜尋、下載內容和填寫表單

  • 在檔案和電子表格中查找、提取和操作文本和數據

  • 複製、移動、重命名或壓縮電腦上儲存的檔案

  • 從 PDF 和 Word 文件中分割、合併和提取文本

  • 通過自定義的滑鼠和鍵盤宏與應用程式互動

  • 管理你的收件箱、取消訂閱郵件列表,以及發送電子郵件或簡訊通知


本版新增: 所有程式碼和範例均已徹底更新。你還會發現四個有關資料庫整合、語音識別以及音訊和視頻編輯的新章節,以及 16 個新的程式設計專案和擴展的開發者技術涵蓋,例如創建命令行程式。

不要把時間浪費在一隻訓練有素的猴子也能做的工作上。即使你從未寫過一行程式碼,你也可以把這些繁瑣的工作交給你的電腦。了解如何在 用 Python 自動化無聊的工作 中實現。

作者簡介

Al Sweigart is a software developer, fellow of the Python Software Foundation, and author of several popular programming books including The Big Book of Small Python Projects, Beyond the Basic Stuff with Python, Coding with Minecraft, and The Recursive Book of Recursion (all from No Starch Press).

作者簡介(中文翻譯)

Al Sweigart 是一位軟體開發人員,Python Software Foundation 的研究員,以及幾本受歡迎的程式設計書籍的作者,包括 The Big Book of Small Python ProjectsBeyond the Basic Stuff with PythonCoding with MinecraftThe Recursive Book of Recursion(均由 No Starch Press 出版)。