Modular Programming with Python

0
(0)

Modular Programming with Python
 

  • Author:Erik Westra
  • Length: 246 pages
  • Edition: 1
  • Publisher: Packt Publishing
  • Publication Date: 2016-05-26
  • ISBN-10: 1785884484
  • ISBN-13: 9781785884481
  • Sales Rank: #482753 (See Top 100 Books)
  • Download:Register/Login to Download
  • Buy Print:Buy from amazon


    Book Description

    Key Features

    • The book would help you develop succinct, expressive programs using modular deign
    • The book would explain best practices and common idioms through carefully explained and structured examples
    • It will have broad appeal as far as target audience is concerned and there would be take away for all beginners to Python

    Book Description

    Python has evolved over the years and has become the primary choice of developers in various fields. The purpose of this book is to help readers develop readable, reliable, and maintainable programs in Python.

    Starting with an introduction to the concept of modules and packages, this book shows how you can use these building blocks to organize a complex program into logical parts and make sure those parts are working correctly together.

    Using clearly written, real-world examples, this book demonstrates how you can use modular techniques to build better programs. A number of common modular programming patterns are covered, including divide-and-conquer, abstraction, encapsulation, wrappers and extensibility. You will also learn how to test your modules and packages, how to prepare your code for sharing with other people, and how to publish your modules and packages on GitHub and the Python Package Index so that other people can use them. Finally, you will learn how to use modular design techniques to be a more effective programmer.

    What you will learn

    • Learn how to use modules and packages to organize your Python code
    • Understand how to use the import statement to load modules and packages into your program
    • Use common module patterns such as abstraction and encapsulation to write better programs
    • Discover how to create self-testing Python packages
    • Create reusable modules that other programmers can use
    • Learn how to use GitHub and the Python Package Index to share your code with other people
    • Make use of modules and packages that others have written
    • Use modular techniques to build robust systems that can handle complexity and changing requirements over time

    About the Author

    Erik Westra has been a professional software developer for over 25 years, and has worked almost exclusively in Python for the past decade. Erik’s early interest in graphical user interface design led to the development of one of the most advanced urgent courier dispatch systems used by messenger and courier companies worldwide. In recent years, Erik has been involved in the design and implementation of systems matching seekers and providers of goods and services across a range of geographical areas, as well as real-time messaging and payments systems. This work has included the creation of real-time geocoders and map-based views of constantly changing data. Erik is based in New Zealand, and works for companies worldwide.

    Erik is also the author of the Packt titles Python Geospatial Development, Python Geospatial Analysis, and Building Mapping Applications with QGIS.

    Table of Contents

    Chapter 1. Introducing Modular Programming
    Chapter 2. Writing Your First Modular Program
    Chapter 3. Using Modules and Packages
    Chapter 4. Using Modules for Real-World Programming
    Chapter 5. Working with Module Patterns
    Chapter 6. Creating Reusable Modules
    Chapter 7. Advanced Module Techniques
    Chapter 8. Testing and Deploying Modules
    Chapter 9. Modular Programming as a Foundation for Good Programming Technique

    中文:

    书名:Modular Programming with Python

    主要特点

    • 本书将帮助您使用模块化设计开发简洁、富有表现力的程序
    • 这本书将通过仔细解释和组织的例子来解释最佳实践和常见习语
    • 就目标受众而言,它将具有广泛吸引力,而且对于所有初学者来说,它都会给Python带来一些好处

    图书描述

    经过多年的发展,Python已经成为各个领域开发人员的主要选择。这本书的目的是帮助读者用Python语言开发可读、可靠和可维护的程序。

    这本书从介绍模块和包的概念开始,向您展示了如何使用这些构建块将复杂的程序组织成逻辑部分,并确保这些部分一起正确工作。

    这本书使用清晰的、真实的例子,演示了如何使用模块化技术来构建更好的程序。文中介绍了许多常见的模块化编程模式,包括分而治之、抽象、封装、包装和可扩展性。您还将学习如何测试模块和包,如何准备与他人共享的代码,以及如何在GitHub和Python包索引上发布模块和包,以便其他人可以使用它们。最后,您将学习如何使用模块化设计技术成为更有效的程序员。

    What you will learn

    • Learn how to use modules and packages to organize your Python code
    • 了解如何使用IMPORT语句将模块和包加载到程序中
    • 使用抽象和封装等常用模块模式编写更好的程序
    • 了解如何创建自测试的Python包
    • 创建其他程序员可以使用的可重复使用的模块
    • 了解如何使用GitHub和Python包索引与他人共享您的代码
    • 利用其他人编写的模块和包
    • 使用模块化技术构建能够处理复杂性和随时间变化的需求的健壮系统

    关于作者

    埃里克·韦斯特拉 作为一名专业软件开发人员已有超过25年的经验,在过去的十年中,他几乎只在Python中工作。埃里克对图形用户界面设计的早期兴趣导致了全球信使和快递公司使用的最先进的紧急快递调度系统之一的开发。近年来,Erik参与了一系列地理区域内搜索者与商品和服务提供商的匹配系统的设计和实施,以及实时信息和支付系统的设计和实施。这项工作包括为不断变化的数据创建实时地理编码器和基于地图的视图。埃里克常驻新西兰,在世界各地的公司工作。

    Erik也是Packt书目《Python地理空间开发》、《Python地理空间分析》和《使用QGIS的建筑地图应用程序》的作者。

    目录表

    Chapter 1. Introducing Modular Programming
    第2章:编写第一个模块化程序
    第3章:使用模块和包
    第4章:使用模块进行实际编程
    第5章.使用模块模式
    第6章.创建可重用模块
    第7章:高级模块技术
    第8章.测试和部署模块
    第9章:作为良好编程技术基础的模块化编程

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

    点击星号评分!

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

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

  • 推荐阅读

    评论 抢沙发

    评论前必须登录!

     

    登录

    找回密码

    注册