商品描述
Learn only the essential aspects of Python without cluttering up your mind with features you may never use. This compact book is not a "best way to write code" type of book; rather, the author goes over his most-used functions, which are all you need to know as a beginner and some way beyond.
Lean Python takes 58 Python methods and functions and whittles them down to 15: as author Paul Gerrard says, "I haven't found a need for the rest."
- Discover lean Python and how to learn just enough to build useful tools
- Use Python objects, program structure, I/O, modules and more
- Handle errors and exceptions
- Test your code
- Access the Web; do searching; and persist data
商品描述(中文翻譯)
學習 Python 的基本要素,而不必讓那些你可能永遠不會使用的功能混淆你的思緒。這本簡明的書籍並不是一本「最佳寫程式方式」的書;相反地,作者介紹了他最常用的函數,這些都是作為初學者及更進一步所需了解的內容。
《Lean Python》挑選了 58 個 Python 方法和函數,精簡至 15 個:正如作者 Paul Gerrard 所說,「我沒有發現需要其他的。」
你將學到的內容:
- 探索精簡的 Python,學習足夠的知識來建立有用的工具
- 使用 Python 物件、程式結構、輸入/輸出、模組等
- 處理錯誤和例外
- 測試你的程式碼
- 存取網路;進行搜尋;並持久化資料
本書適合的讀者:
這本書針對三類讀者:經驗豐富的程式設計師——如果你已經知道一種程式語言,這本書將為你提供理解 Python 語言及其設計哲學的捷徑。
你在 IT 領域工作,需要一個程式設計入門——你可能是一名測試人員,需要與程式設計師進行更具知識性的技術討論。通過範例的學習將幫助你理解良好程式設計的挑戰。
初學者——你想要一本可以快速吸收的程式設計入門書,以幫助你決定程式設計是否適合你。