Pro Python Best Practices
Debugging, Testing and Maintenance
Authors: Rother, Kristian
Download source code Free Preview- Translates best practices of programming to Python programmers
- Conveys practical coding from debugging, testing, and maintenance perspectives
- The techniques in this book allow you to solve problems from web development to big data and more
Buy this book
- 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.
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
Experienced Python coders from web development, big data, and more.
- Learn common debugging techniques that help you find and eliminate errors
- About the authors
-
Kristian Rother is a freelance Python developer and trainer with over 30 years of experience.
- Reviews
-
“As your Python programs grow, so do your problems: debugging gets harder; the need for well-written tests becomes more urgent; and maintenance issues intrude; bringing the need for a better approach to version control, code organisation, and documentation. Pro Python Best Practices is a neat exploration of all of these topics, which starts by making the case for best practices. … Essential material.” (The MagPi, Issue 59, July, 2017)
- Table of contents (17 chapters)
-
-
Introduction
Pages 1-10
-
Exceptions in Python
Pages 13-25
-
Semantic Errors in Python
Pages 27-41
-
Debugging with the Scientific Method
Pages 43-54
-
Debugging with print Statements
Pages 55-66
-
Table of contents (17 chapters)
Bibliographic Information
- Bibliographic Information
-
- Book Title
- Pro Python Best Practices
- Book Subtitle
- Debugging, Testing and Maintenance
- Authors
-
- Kristian Rother
- Copyright
- 2017
- Publisher
- Apress
- Copyright Holder
- Kristian Rother
- eBook ISBN
- 978-1-4842-2241-6
- DOI
- 10.1007/978-1-4842-2241-6
- Softcover ISBN
- 978-1-4842-2240-9
- Edition Number
- 1
- Number of Pages
- XXVII, 264
- Number of Illustrations
- 44 b/w illustrations, 19 illustrations in colour
- Topics