# Category Archives: Programming

## Parsing M3U Playlists in Python with the m3u-ipytv Library

M3U playlists are a popular format for storing multimedia playlists, and they are widely used for organizing TV channels, radio stations, and video content. In this blog post, we’ll explore how to work with M3U playlists in Python using the m3u-ipytv library. We’ll cover the process of creating a Python script that can parse an M3U playlist file… Read More »

## Convert Images to PDF Using Python and the img2pdf Library

I recently worked on an ETL project where I had to refer to screenshots from the legacy application quite often. I had a folder full of screenshot images but it was quite inconvenient to keep clicking through images to find the one I wanted. A better solution would be to have all of the images in a single… Read More »

## Fibonacci solution in Python

I have always thought of the Fibonacci sequence as a suitable challenge when learning a new programming language. According to Wikipedia “the Fibonacci numbers, commonly denoted Fn  form a sequence, called the Fibonacci sequence, such that each number is the sum of the two preceding ones, starting from 0 and 1“. I posted my JavaScript solutions to solve the Fibonacci value for… Read More »

## JavaScript Fibonacci solution.

In mathematical terms, the Fibonacci sequence is a series of numbers in which each number is the sum of the two previous numbers. The sequence Fn is defined by: Fn = Fn-1 + Fn-2, with seed values F1 = 1, F2 = 1  or  F0 = 0, F1 = 1. So, for example, assuming seed values of 0 and 1, the sequence… Read More »