Rother, Kristian,

Pro Python best practices : debugging, testing and maintenance / Kristian, Rother. - 1st ed. - xxvii, 264 pages : 26 cm

Includes index.

Introduction -- Part 1. Debugging. Exceptions in Python -- Semantic errors in Python -- Debugging with the scientific method -- Debugging with print statements -- Debugging with introspection functions -- Using an interactive debugger -- Part 2. Automated testing. Writing automated tests -- Organizing test data -- Writing a test suite -- Testing best practices -- Part 3. Maintenance. Version control -- Setting up a Python project -- Cleaning up code -- Decomposing programming tasks -- Static typing in Python -- Documentation.

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.

9781484222416 9781484240366

2017936044


Python (Computer program language)
Debugging in computer science.
Debugging in computer science.
Python (Computer program language)

QA76.73.P98 / R68 2017

005.1372 / ROTK