Take this
course

Software Development / Programming Languages

Python Exceptions and Testing

Understand how exception handling is carried out in Python while learning different strategies and tools that can be used to profile and tune programs..

Description

Exceptions can point out and break the normal control flow of a program. Whenever an exception is raised, a message is left by Python. In this course, you will learn how exception handling is carried out in Python. Additionally, what do you look for when you profile a program? You look for coverage information and performance statistics. This course will also explain how Python helps you to test, debug, profile, and tune programs using in-built utilities.You will get an in-depth look at doctest module and unittest module and its various tools. You will learn how to different strategies and tools that can be used to profile and tune programs.
Full details

Curriculum

  • Python Exceptions and Testing: Download Supplemental Materials
    LearnSmart_Course Orientation
    1:54
    Chapter 2 & 3: Supplemental Materials
    Take advantage of all our extra downloadable supplemental materials. This .zip file includes PDF versions of our Script, PPT Slides, Quiz Questions, and vocabulary tools to better enhance your understanding for our "Errors and Exceptions " focus:
    Chapter 4 & 5: Supplemental Materials
    Take advantage of all our extra downloadable supplemental materials. This .zip file includes PDF versions of our Script, PPT Slides, Quiz Questions, and vocabulary tools to better enhance your understanding for our "Testing, Debugging, Profiling, and Tuning" focus:
  • Errors
    Introduction
    0:39
    Exception Handling
    3:49
    Exceptions Demo
    1:41
    Catching Exceptions
    1:04
    Handling Exceptions Demo
    2:47
    Raising Exceptions
    0:54
    Else Statement
    1:21
  • Exceptions
    Introduction
    0:53
    User-defined Exceptions Demo
    1:53
    Termination Actions
    2:28
    Try/Finally Demo
    3:32
    With Statement Demo
    1:19
    Built-In Exceptions
    6:54
    Built-In Warnings and Clean-up Actions
    1:59
    Conclusion
    0:45
  • Testing and Debugging
    Introduction
    4:24
    Testing
    2:28
    DocTest Module
    3:22
    UnitTest Module
    3:46
    UnitTesting Tools
    2:06
    Debugging in Python
    3:26
    DocTest and UnitTest Demo
    2:51
  • Profiling and Tuning
    Profiling Python Programs
    2:51
    PDB and cProfile Demo
    2:45
    Tuning of Python Programs
    3:19
    Performance Tuning Strategies
    4:32
    Time and Memory Measurements Demo
    2:06
    Tuning Demo
    3:06
    Conclusion
    1:16

Skills

  • Debugging
  • Python
  • Unit Testing

Similar Courses

More Courses by this Instructor