This is a collection of practical experiments along my programming studies. Starting off with some modest and minimalistic trivial creations and moving on to something actually useful. Since theoretical studies won’t create anything applicable in real life, so I might as well start making something out of nothing!
Grayscale Demo
It’s been a while since I last worked with Python, but getting back into it feels oddly natural — like picking up an old instrument and remembering the rhythm by touch. I’ve started working through the Data Analysis with Python 2024–2025 MOOC, and decided to document some of that journey right here on my site.
The course kicks off with a solid recap of the Python basics — a smooth way to reenter the ecosystem. Things ramp up quickly though: in the second chapter, we dive headfirst into NumPy and its dense world of matrix operations. I had to dust off some linear algebra concepts, but soon enough, 2D and 3D arrays started making sense again.
Now, in chapter 3, we’re working with matplotlib and image processing, transforming arrays into visuals — and vice versa. To make things more concrete, I decided to take one of the early exercises (converting RGB images to grayscale) and turn it into a working web app using Gradio.
The mini app below lets you upload an image and see it converted to grayscale in real time. It runs entirely in Python, powered by NumPy, Pillow, and Gradio, and is hosted via Hugging Face Spaces. Try it out 👇