Professional Python

0
(0)

Professional Python
 

  • Author:Luke Sneeringer
  • Length: 288 pages
  • Edition: 1
  • Publisher: Wrox
  • Publication Date: 2015-10-19
  • ISBN-10: 1119070856
  • ISBN-13: 9781119070856
  • Sales Rank: #1042566 (See Top 100 Books)
  • Download:Register/Login to Download
  • Buy Print:Buy from amazon


    Book Description

    Master the secret tools every Python programmer needs to know

    Professional Python goes beyond the basics to teach beginner- and intermediate-level Python programmers the little-known tools and constructs that build concise, maintainable code. Design better architecture and write easy-to-understand code using highly adoptable techniques that result in more robust and efficient applications. Coverage includes Decorators, Context Managers, Magic Methods, Class Factories, Metaclasses, Regular Expressions, and more, including advanced methods for unit testing using asyncio and CLI tools. Each topic includes an explanation of the concept and a discussion on applications, followed by hands-on tutorials based on real-world scenarios. All sample code is available for download from the companion website, and the “Python 3 first” approach covers multiple current versions, while ensuring long-term relevance.

    Python offers many tools and techniques for writing better code, but often confusing documentation leaves many programmers in the dark about how to use them. This book shines a light on these incredibly useful methods, giving you clear guidance toward building stronger applications.

    • Learn advanced Python functions, classes, and libraries
    • Utilize better development and testing tools
    • Understand the “what,” “when,” “why,” and “how”
    • Download example code to start programming right away

    More than just theory or a recipe-style walk-through, this guide helps you learn — and understand — these little-known tools and techniques. You’ll streamline your workflow while improving the quality of your output, producing more robust applications with cleaner code and stronger architecture. If you’re ready to take your Python skills to the next level, Professional Python is the invaluable guide that will get you there.

    Table of Contents

    Part I: Functions
    Chapter 1: Decorators
    Chapter 2: Context Managers
    Chapter 3: Generators

    Part II: Classes
    Chapter 4: Magic Methods
    Chapter 5: Metaclasses
    Chapter 6: Class Factories
    Chapter 7: Abstract Base Classes

    Part III: Data
    Chapter 8: Strings and Unicode
    Chapter 9: Regular Expressions
    Part IV: Everything Else
    Chapter 10: Python 2 Versus Python 3
    Chapter 11: Unit Testing
    Chapter 12: CLI Tools
    Chapter 13: asyncio
    Chapter 14: Style

    中文:

    书名:职业巨蟒

    掌握每个Python程序员都需要知道的秘密工具

    职业巨蟒 超越了基础知识,教初学者和中级的Python程序员使用鲜为人知的工具和构造来构建简洁、可维护的代码。使用高度可采用的技术设计更好的体系结构并编写易于理解的代码,从而产生更健壮、更高效的应用程序。内容包括修饰器、上下文管理器、魔术方法、类工厂、元类、正则表达式等,包括使用Ayncio和CLI工具进行单元测试的高级方法。每个主题都包括对概念的解释和关于应用程序的讨论,然后是基于真实世界场景的实践教程。所有样例代码都可以从配套网站下载,并且在确保长期相关性的同时,该方法涵盖了多个当前版本。

    Python提供了许多工具和技术来编写更好的代码,但经常令人困惑的文档让许多程序员对如何使用它们一无所知。这本书详细介绍了这些非常有用的方法,为您构建更强大的应用程序提供了明确的指导。

    • 了解高级Python函数、类和库
    • 利用更好的开发和测试工具
    • 了解“什么,”“何时,”“为什么,以及“如何
    • 下载示例代码以立即开始编程

    这本指南不仅仅是理论或食谱风格的演练,它还帮助您学习和理解这些鲜为人知的工具和技术。您将简化您的工作流程,同时提高输出的质量,以更干净的代码和更强大的体系结构生成更健壮的应用程序。如果你已经准备好将你的Python技能提升到一个新的水平, 职业巨蟒 是将你带到那里的无价指南。

    目录表

    第一部分:功能
    第一章:装饰者
    Chapter 2: Context Managers
    第三章:发电机

    第二部分:课程
    第四章:神奇的方法
    第5章:元类
    第六章:类工厂
    第7章:抽象基类

    第三部分:数据
    第8章:字符串和Unicode
    第9章:正则表达式
    第四部分:其他一切
    第10章:Python2与Python3
    第11章:单元测试
    第12章:CLI工具
    Chapter 13: asyncio
    第十四章:风格

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

    点击星号评分!

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

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

  • 推荐阅读

    评论 抢沙发

    评论前必须登录!

     

    登录

    找回密码

    注册