Pro Python Best Practices

Debugging, Testing and Maintenance

  • Kristian Rother

Table of contents

  1. Front Matter
    Pages i-xxvii
  2. Kristian Rother
    Pages 1-10
  3. Debugging

    1. Front Matter
      Pages 11-11
    2. Kristian Rother
      Pages 13-25
    3. Kristian Rother
      Pages 27-41
    4. Kristian Rother
      Pages 43-54
    5. Kristian Rother
      Pages 55-66
    6. Kristian Rother
      Pages 67-84
    7. Kristian Rother
      Pages 85-100
  4. Automated Testing

    1. Front Matter
      Pages 101-101
    2. Kristian Rother
      Pages 103-116
    3. Kristian Rother
      Pages 117-128
    4. Kristian Rother
      Pages 129-144
    5. Kristian Rother
      Pages 145-158
  5. Maintenance

    1. Front Matter
      Pages 159-159
    2. Kristian Rother
      Pages 161-179
    3. Kristian Rother
      Pages 181-194
    4. Kristian Rother
      Pages 195-212
    5. Kristian Rother
      Pages 213-229
    6. Kristian Rother
      Pages 231-244
    7. Kristian Rother
      Pages 245-259
  6. Back Matter
    Pages 261-264

About this book


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.

You will:
  • Learn common debugging techniques that help you find and eliminate errors
  • Gain techniques to detect bugs more easily
  • ver best="" practices="" to="" prevent="" bugscarry="" out="" automated="" testing="" discover="" problems="" faster
  • Use best practices to maintain a project over a long time
  • Learn techniques to keep your project under control


Python debugging testing tdd unit code best practices software programming development web big data code organization version control

Authors and affiliations

  • Kristian Rother
    • 1
  1. 1.BerlinGermany

Bibliographic information

Industry Sectors
Chemical Manufacturing
Finance, Business & Banking
IT & Software
Consumer Packaged Goods
Energy, Utilities & Environment