Pro Python Best Practices: Debugging, Testing and Maintenance Front Cover

Pro Python Best Practices: Debugging, Testing and Maintenance

  • Length: 264 pages
  • Edition: 1st ed.
  • Publisher:
  • Publication Date: 2017-04-17
  • ISBN-10: 1484222407
  • ISBN-13: 9781484222409
  • Sales Rank: #2544036 (See Top 100 Books)
Description

Learn software engineering and coding best practices to write Python code right and error free. In this book you’ll see how to properly debug, organize, test, and maintain your code, all of which leads to better, more efficient coding.

Software engineering is difficult. Programs of any substantial length are inherently prone to errors of all kinds. The development cycle is full of traps unknown to the apprentice developer. Yet, in Python textbooks little attention is paid to this aspect of getting your code to run. At most, there is a chapter on debugging or unit testing in your average basic Python book. However, the proportion of time spent on getting your code to run is much higher in the real world. Pro Python Best Practices aims to solve this problem.

What You’ll Learn

  • Learn common debugging techniques that help you find and eliminate errors
  • Gain techniques to detect bugs more easily
  • Learn techniques to keep your project under control

Who This Book Is For

Experienced Python coders from web development, big data, and more.

Table of Contents

Chapter 1: Introduction

Part I: Debugging
Chapter 2: Exceptions in Python
Chapter 3: Semantic Errors in Python
Chapter 4: Debugging with the Scientific Method
Chapter 5: Debugging with print Statements
Chapter 6: Debugging with Introspection Functions
Chapter 7: Using an Interactive Debugger

Part II: Automated Testing
Chapter 8: Writing Automated Tests
Chapter 9: Organizing Test Data
Chapter 10: Writing a Test Suite
Chapter 11: Testing Best Practices

Part III: Maintenance
Chapter 12: Version Control
Chapter 13: Setting Up a Python Project
Chapter 14: Cleaning Up Code
Chapter 15: Decomposing Programming Tasks
Chapter 16: Static Typing in Python
Chapter 17: Documentation

To access the link, solve the captcha.