Daniyal Ahmed

Python Developer since 2020 | Release Manager for Python 3.8 | Creator of Black code formatter | Contributing to Python's growth and adoption.
113 Posts

How I Fix Pulling a Page with Raw Socket a 404 Errors

I thought my setup was bullet‑proof: a tiny Apache server inside an Ubuntu VM, a single index.html, and a friendly DNS shortcut into /etc/hosts....

How I Fix Flask Global 404 Handler for API and HTML Routes

I run a mini‑web server at home. It shows a plain web page at / and serves JSON under /gnodes/api/v1.0/*. At first glance the...

How to Easily Create Box and Whisker Plot in Python

Hi, I’m a data‑science hobbyist who loves turning raw numbers into pictures that tell the story in one glance. Today I’m walking you through the...

How To Generate OTP Using Python

I’m a big fan of practical mini‑projects the kind you can build, test, and extend in a single sitting. Today I’ll walk you through one...

How to Build a Tiny Python App That Reminds Me to Take Breaks

Spending all day at a screen is brutal on the eyes, the back, and the brain. So I decided to whip up a desktop...