Posts

Showing posts from October, 2025

Adventures in Flask: Building a Simple Python Web App

Phew — close call!   A few hours after publishing this article I noticed a sensitive link had been included in the post that pointed to an internal repository. That link has been removed from this post. If it had been exposed to threat actors, it could have led to attacks against our organization and potentially exposed sensitive internal information. Lesson learned: always double-check links before publishing! Anyways! If you're just starting with Python web development, Flask is a fantastic place to begin: it's tiny, clear, and gives you full control over how your app is structured. In this post we'll build a small "Notes" app that demonstrates the core Flask concepts: routes, templates, forms, and configuration. What you'll need Python 3.8+ installed   pip (Python package manager)   A text editor (VS Code, vim, etc.) Quick setup 1. Create a virtual environment:      python -m venv venv      source venv/bin/activate...