All posts / Python

Using Flask API To Relay Messages to Discord Channels

A simple Flask API example that sends messages to Discord channels using webhooks—great for alerts, bots, or automation scripts.

How to Use Doctest to Enhance Your Python Documentation and Tests

Learn how to use Python's built-in doctest module to write tests inside your docstrings—great for simple validation and better documentation.