[Python basic tutorial (9)] [errors, debugging and testing]

Previous: [Python Basic Course (8)] [Object-Oriented Advanced Programming]

Article Directory

Write in front

Python provides two very important functions to deal with exceptions and errors in the running of Python programs. You can use this function to debug Python programs.
In computer programming, unit testing (English: Unit Testing), also known as module testing, is a test for correctness verification of program modules (the smallest unit of software design). The program unit is the smallest testable part of the application. In procedural programming, a unit is a single program, function, process, etc.; for object-oriented programming, the smallest unit is a method, including methods in a base class (super class), abstract class, or derived class (subclass).

mind Mapping

Insert picture description here

link

Welcome star fork download

https://github.com/LinGavinQ/Python/blob/master/errors, debugging and testing.ipynb

Next article: [Python basic tutorial (ten)] [IO programming]

Guess you like

Origin blog.csdn.net/qq_42893334/article/details/107954640