Python Context Manager: How To Create Your Own in 3 Easy Steps

Image of a MacBook computer with context manager and ai flavours written in dark blue and red boxes

One of the first things you’ve learnt when handling files in Python was definitely with statements. Everyone taught you to use it, so you don’t have to remember about allocating resources and closing your own files. And since then you probably always used this magical:   with open(“file.txt”, “r”) as f: f.read()   But what […]

Image of Sound – Audio Feature Engineering in 5 Easy Steps

Image of sound speaker with title "extracting images from sound"

What comes to your mind first when I tell you to create image of sound? If you’re a musician you might think about score, which allows us to see the sequence of individual sounds, their pitch and length. Or if you used some old audio players you can still remember crazy waves shown on your […]