Clean Python: Elegant Coding in Python

0
(0)

Clean Python: Elegant Coding in Python
 

  • Author:Sunil Kapil
  • Length: 267 pages
  • Edition: 1st ed.
  • Publisher: Apress
  • Publication Date: 2019-08-05
  • ISBN-10: 1484248775
  • ISBN-13: 9781484248775
  • Download:Register/Login to Download
  • Buy Print:Buy from amazon


    Book Description

    Discover the right way to code in Python. This book provides the tips and techniques you need to produce cleaner, error-free, and eloquent Python projects.

    Your journey to better code starts with understanding the importance of formatting and documenting your code for maximum readability, utilizing built-in data structures and Python dictionary for improved maintainability, and working with modules and meta-classes to effectively organize your code. You will then dive deep into the new features of the Python language and learn how to effectively utilize them. Next, you will decode key concepts such as asynchronous programming, Python data types, type hinting, and path handling. Learn tips to debug and conduct unit and integration tests in your Python code to ensure your code is ready for production. The final leg of your learning journey equips you with essential tools for version management, managing live code, and intelligent code completion.

    After reading and using this book, you will be proficient in writing clean Python code and successfully apply these principles to your own Python projects.

    What You’ll Learn

    • Use the right expressions and statements in your Python code
    • Create and assess Python Dictionary
    • Work with advanced data structures in Python
    • Write better modules, classes, functions, and metaclasses
    • Start writing asynchronous Python immediately
    • Discover new features in Python

    Who This Book Is For

    Readers with a basic Python programming knowledge who want to improve their Python programming skills by learning right way to code in Python.

    中文:

    书名:CLEAN PYTHON:用PYTHON编写优雅的代码

    了解使用Python编写代码的正确方法。这本书提供了生成干净、无错误和雄辩的Python项目所需的技巧和技术。

    要获得更好的代码,首先要了解格式化和文档化代码以获得最大可读性的重要性,使用内置数据结构和Python字典来提高可维护性,并使用模块和元类来有效地组织代码。然后,您将深入了解Python语言的新特性,并学习如何有效地利用它们。接下来,您将了解一些关键概念,如异步编程、Python数据类型、类型提示和路径处理。学习在您的Python代码中调试和执行单元和集成测试的技巧,以确保您的代码已为生产做好准备。学习之旅的最后一站将为您配备用于版本管理、管理活动代码和智能代码完成的基本工具。

    阅读并使用本书后,您将熟练地编写干净的Python代码,并成功地将这些原则应用到您自己的Python项目中。

    你会学到什么

    • 在您的Python代码中使用正确的表达式和语句
    • 创建和评估Python词典
    • 在Python中使用高级数据结构
    • 编写更好的模块、类、函数和元类
    • 立即开始编写异步Python
    • Discover new features in Python

    这本书是为谁写的

    具有基本的Python编程知识的读者,希望通过学习正确的使用Python编码的方法来提高他们的Python编程技能。

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

    点击星号评分!

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

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

  • 推荐阅读

    评论 抢沙发

    评论前必须登录!

     

    登录

    找回密码

    注册