Mastering Python: Write powerful and efficient code using the full range of Python’s capabilities, 2nd Edition

0
(0)

Mastering Python: Write powerful and efficient code using the full range of Python’s capabilities, 2nd Edition
 

  • Author:Rick van Hattem
  • Length: 710 pages
  • Edition: 2
  • Publisher: Packt Publishing
  • Publication Date: 2022-05-20
  • ISBN-10: 1800207727
  • ISBN-13: 9781800207721
  • Sales Rank: #1087347 (See Top 100 Books)
  • Download:Register/Login to Download
  • Buy Print:Buy from amazon


    Book Description

    Use advanced features of Python to write high-quality, readable code and packages

    Key Features

    • Extensively updated for Python 3.10 with new chapters on design patterns, scientific programming, machine learning, and interactive Python
    • Shape your scripts using key concepts like concurrency, performance optimization, asyncio, and multiprocessing
    • Learn how advanced Python features fit together to produce maintainable code

    Book Description

    Even if you find writing Python code easy, writing code that is efficient, maintainable, and reusable is not so straightforward. Many of Python’s capabilities are underutilized even by more experienced programmers. Mastering Python, Second Edition, is an authoritative guide to understanding advanced Python programming so you can write the highest quality code. This new edition has been extensively revised and updated with exercises, four new chapters and updates up to Python 3.10.

    Revisit important basics, including Pythonic style and syntax and functional programming. Avoid common mistakes made by programmers of all experience levels. Make smart decisions about the best testing and debugging tools to use, optimize your code’s performance across multiple machines and Python versions, and deploy often-forgotten Python features to your advantage. Get fully up to speed with asyncio and stretch the language even further by accessing C functions with simple Python calls. Finally, turn your new-and-improved code into packages and share them with the wider Python community.

    If you are a Python programmer wanting to improve your code quality and readability, this Python book will make you confident in writing high-quality scripts and taking on bigger challenges

    What you will learn

    • Write beautiful Pythonic code and avoid common Python coding mistakes
    • Apply the power of decorators, generators, coroutines, and metaclasses
    • Use different testing systems like pytest, unittest, and doctest
    • Track and optimize application performance for both memory and CPU usage
    • Debug your applications with PDB, Werkzeug, and faulthandler
    • Improve your performance through asyncio, multiprocessing, and distributed computing
    • Explore popular libraries like Dask, NumPy, SciPy, pandas, TensorFlow, and scikit-learn
    • Extend Python’s capabilities with C/C++ libraries and system calls

    Who this book is for

    This book will benefit more experienced Python programmers who wish to upskill, serving as a reference for best practices and some of the more intricate Python techniques. Even if you have been using Python for years, chances are that you haven’t yet encountered every topic discussed in this book. A good understanding of Python programming is necessary

    中文:

    书名:掌握Python:使用Python的全部功能编写强大高效的代码,第二版

    使用Python的高级功能编写高质量、可读的代码和包

    主要特点

    • 针对Python3.10进行了广泛的更新,增加了有关设计模式、科学编程、机器学习和交互式Python的新章节
    • 使用并发、性能优化、异步和多处理等关键概念调整您的脚本
    • Learn how advanced Python features fit together to produce maintainable code

    图书描述

    即使您发现编写Python代码很容易,编写高效、可维护和可重用的代码也不是那么简单。即使是更有经验的程序员,也没有充分利用Python的许多功能。掌握Python,第二版,是理解高级Python编程的权威指南,这样您就可以编写最高质量的代码。这个新版本经过了广泛的修订和更新,增加了练习,四个新的章节,并更新到了Python3.10。

    回顾重要的基础知识,包括Pythonic风格、语法和函数式编程。避免所有经验水平的程序员犯下的常见错误。明智地决定要使用的最佳测试和调试工具,优化代码在多台计算机和Python版本上的性能,并部署经常被遗忘的Python功能。充分利用Ayncio,并通过简单的Python调用访问C函数来进一步扩展该语言。最后,将新改进的代码转换为包,并与更广泛的Python社区共享。

    如果您是一名想要提高代码质量和可读性的Python程序员,这本书将使您对编写高质量的脚本和迎接更大的挑战充满信心

    你将学到什么

    • 编写精美的Pythonic代码,避免常见的Python编码错误
    • 应用装饰器、生成器、协程和元类的力量
    • 使用不同的测试系统,如pytest、unittest和doctest
    • 跟踪和优化内存和CPU使用情况的应用程序性能
    • Debug your applications with PDB, Werkzeug, and faulthandler
    • 通过异步、多处理和分布式计算提高您的性能
    • 浏览流行的图书馆,如DaskNumPy、SciPy、Pandas、TensorFlow和SCRICKIT-学习
    • 使用C/C++库和系统调用扩展Python的功能

    这本书是为谁而写的

    这本书将使希望提升技能的更有经验的Python程序员受益,作为最佳实践和一些更复杂的Python技术的参考。即使您已经使用了多年的Python,您也很有可能还没有遇到本书中讨论的所有主题。有必要对Python编程有很好的了解

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

    点击星号评分!

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

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

  • 推荐阅读

    评论 抢沙发

    评论前必须登录!

     

    登录

    找回密码

    注册