Intuitive Python: Productive Development for Projects That Last (直觀的 Python:持久專案的高效開發)

Muller, David

  • 出版商: Pragmatic Bookshelf
  • 出版日期: 2021-06-29
  • 定價: $1,100
  • 售價: 9.5$1,045
  • 貴賓價: 9.0$990
  • 語言: 英文
  • 頁數: 130
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1680508237
  • ISBN-13: 9781680508239
  • 相關分類: Python程式語言
  • 立即出貨 (庫存 < 3)

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

相關主題

商品描述

Developers power their projects with Python because it emphasizes readability, ease of use, and access to a meticulously maintained set of packages and tools. The language itself continues to improve with every release: writing in Python is full of possibility. But to maintain a successful Python project, you need to know more than just the language. You need tooling and instincts to help you make the most out of what's available to you. Use this book as your guide to help you hone your skills and sculpt a Python project that can stand the test of time.

No matter your experience level or background, Python's batteries-included standard library and rich third-party ecosystem provide a solid foundation to build your projects on. With the right intuition and background knowledge, you can take advantage of all the power Python offers. Take a guided tour of some of Python's high points to craft a project that you can sustain and build on for a long time.

Run static analysis tools to detect and eliminate classes of bugs before you run code. Experiment with Python's concurrency model and develop patterns for using Python's thread and process abstractions to their full potential. Introduce yourself to Python's type hinting system: mypy. Download and run third-party Python packages and do so safely without compromising on security. Debug code using Python's built in debugger, and try procedures out in the interactive console. Run your code under new versions of the Python interpreter to unlock performance and usability improvements. All along the way, sharpen your Python instincts so you can keep your code clean and reduce the chance of bugs.

Mine Python for all you can by playing to its strengths and embracing patterns that harness its potential.

What You Need:

The books assumes you have some experience programming in any language (not necessarily Python). To run the code presented in the book, you'll need a Python environment which you can download from https: //www.python.org/downloads/.

商品描述(中文翻譯)

開發人員使用Python來推動他們的項目,因為它強調可讀性、易用性和對一套精心維護的套件和工具的訪問。這個語言本身每次發布都在不斷改進:用Python寫作充滿了可能性。但要維護一個成功的Python項目,你需要了解的不僅僅是語言本身。你需要工具和直覺來幫助你充分利用可用的資源。使用這本書作為指南,幫助你磨練技能,打造一個能經得起時間考驗的Python項目。

無論你的經驗水平或背景如何,Python內建的標準庫和豐富的第三方生態系統為你的項目提供了堅實的基礎。憑藉正確的直覺和背景知識,你可以充分利用Python所提供的所有功能。遊覽一下Python的亮點,打造一個能夠長期維護和擴展的項目。

在運行代碼之前,運行靜態分析工具來檢測和消除各類錯誤。嘗試使用Python的並發模型,並開發使用Python的線程和進程抽象的模式,充分發揮其潛力。熟悉Python的類型提示系統:mypy。下載並運行第三方Python套件,並確保安全性。使用Python內建的調試器來調試代碼,在交互式控制台中嘗試程序。在新版本的Python解釋器下運行代碼,以提高性能和可用性。在整個過程中,磨練你的Python直覺,以保持代碼的整潔,減少錯誤的機會。

充分利用Python的優勢,並採用能夠發揮其潛力的模式,來挖掘Python的一切。

你需要什麼:

本書假設你有一些編程經驗(不一定是Python)。要運行書中提供的代碼,你需要一個Python環境,可以從https://www.python.org/downloads/下載。

作者簡介

David Muller is a professional software engineer. He's not a stranger to other languages, but he gravitates to Python because of its low barrier to entry and focus on readability. David has been writing Python almost daily since he was introduced to the language in 2012 while studying bioinformatics at UC San Diego. He also authors Python tutorials for Digital Ocean's public knowledge base.

作者簡介(中文翻譯)

David Muller 是一位專業的軟體工程師。他對其他程式語言並不陌生,但他偏好使用 Python,因為它的門檻低且著重於可讀性。自從 2012 年在加州大學聖地牙哥分校學習生物資訊學時,David 就幾乎每天都在寫 Python。此外,他也為 Digital Ocean 的公開知識庫撰寫 Python 教學文章。