Intuitive Python: Productive Development for Projects that Last

0
(0)

Intuitive Python: Productive Development for Projects that Last
 

  • Author:David Muller
  • Length: 142 pages
  • Edition: 1
  • Publisher: Pragmatic Bookshelf
  • Publication Date: 2021-06-15
  • ISBN-10: 1680508237
  • ISBN-13: 9781680508239
  • Sales Rank: #258324 (See Top 100 Books)
  • Download:Register/Login to Download
  • Buy Print:Buy from amazon


    Book Description

    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的类型提示系统:mypy。下载并运行第三方Python包,并且在不影响安全性的情况下安全地执行此操作。使用Python的内置调试器调试代码,并在交互控制台中试用程序。在新版本的Python解释器下运行您的代码,以实现性能和可用性的改进。在整个过程中,磨练您的Python本能,这样您就可以保持代码的整洁,并减少出现错误的机会。

    发挥它的长处,拥抱利用其潜力的模式,尽你所能地挖掘它。

    您需要的:

    这些书假定您有使用任何语言(不一定是Python)的编程经验。要运行本书中提供的代码,您需要一个可以从https://www.python.org/downloads/.下载的Python语言环境

  • 下载电子版:下载地址
  • 购买纸质版:亚马逊商城

    点击星号评分!

    平均分 0 / 5. 投票数: 0

    还没有投票!请为他投一票。

  • 推荐阅读

    评论 抢沙发

    评论前必须登录!

     

    登录

    找回密码

    注册