17th August 2021
Computer Science⚑
Programming⚑
(../python_basics.md)⚑
-
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)
(../computer_science/programming/python/mypy.md)⚑
-
New: Mypy.
(https://mypy.readthedocs.io/en/stable/) is a static type checker for Python.
(../computer_science/programming/python/pydantic.md)⚑
- New: Validators advanced use.
(../computer_science/programming/python/requests.md)⚑
-
New: Python requests library.
(https://docs.python-requests.org/en/master/) is an elegant and simple HTTP library for Python, built for human beings.