Pro Python Best Practices (eBook)
XXVII, 264 Seiten
Apress (Verlag)
978-1-4842-2241-6 (ISBN)
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.
- 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
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 LearnLearn common debugging techniques that help you find and eliminate errorsGain techniques to detect bugs more easilyWho This Book Is ForExperienced Python coders from web development, big data, and more.
Kristian Rother is a freelance Python developer and trainer with over 30 years of experience.
1. Introduction: Why Do We Need Best Practices?2. Exceptions in Python3. Semantic Errors in Python4. Debugging with the Scientific Method5. Debugging with print Statements6. Debugging with Introspection Functions7. Using an Interactive Debugger8. Writing Automated Tests9. Organizing Test Data10. Writing a Test Suite11. Testing Best Practices12. Version Control13. Setting Up a Python Project14. Cleaning Up Code15. Decomposing Programming Tasks16. Static Typing in Python 17. Documentation
Erscheint lt. Verlag | 15.3.2017 |
---|---|
Zusatzinfo | XXVII, 264 p. 63 illus., 19 illus. in color. |
Verlagsort | Berkeley |
Sprache | englisch |
Themenwelt | Informatik ► Programmiersprachen / -werkzeuge ► Python |
Mathematik / Informatik ► Informatik ► Web / Internet | |
Schlagworte | Best Practices • Big Data • Code • code organization • Debugging • Development • programming • Python • Software • TDD • Testing • Unit • Version Control • Web |
ISBN-10 | 1-4842-2241-5 / 1484222415 |
ISBN-13 | 978-1-4842-2241-6 / 9781484222416 |
Haben Sie eine Frage zum Produkt? |
Größe: 5,5 MB
DRM: Digitales Wasserzeichen
Dieses eBook enthält ein digitales Wasserzeichen und ist damit für Sie personalisiert. Bei einer missbräuchlichen Weitergabe des eBooks an Dritte ist eine Rückverfolgung an die Quelle möglich.
Dateiformat: PDF (Portable Document Format)
Mit einem festen Seitenlayout eignet sich die PDF besonders für Fachbücher mit Spalten, Tabellen und Abbildungen. Eine PDF kann auf fast allen Geräten angezeigt werden, ist aber für kleine Displays (Smartphone, eReader) nur eingeschränkt geeignet.
Systemvoraussetzungen:
PC/Mac: Mit einem PC oder Mac können Sie dieses eBook lesen. Sie benötigen dafür einen PDF-Viewer - z.B. den Adobe Reader oder Adobe Digital Editions.
eReader: Dieses eBook kann mit (fast) allen eBook-Readern gelesen werden. Mit dem amazon-Kindle ist es aber nicht kompatibel.
Smartphone/Tablet: Egal ob Apple oder Android, dieses eBook können Sie lesen. Sie benötigen dafür einen PDF-Viewer - z.B. die kostenlose Adobe Digital Editions-App.
Buying eBooks from abroad
For tax law reasons we can sell eBooks just within Germany and Switzerland. Regrettably we cannot fulfill eBook-orders from other countries.
aus dem Bereich