Skip to content

17th August 2021

Computer Science⚑

Programming⚑

Basics⚑

  • New: Custom exceptions.

    To provide more insightful error messages related to our code, we can create custom exceptions. For example:

    class ColorError(ValueError):
        def __init__(self, color):
            message = f"Invalid color {color}."
            super().__init__(message)
    

mypy⚑

  • New: Mypy.

    mypy is a static type checker for Python.

pydantic⚑

  • New: Validators advanced use.

requests⚑

  • New: Python requests library.

    Requests is an elegant and simple HTTP library for Python, built for human beings.