Programming

Vim on Windows: Resolve Python dependency without a system wide installation

Since many Vim plugins depend on Python; updating Vim often requires a Python update. We will see how to resolve such plugin dependencies using an embeddable Python distribution. Does Python already work? Before starting, check whether you happen to have the correct version of Python installed. :echo has(‘python3’) If this prints 1 then you are […]

Vim on Windows: Resolve Python dependency without a system wide installation Read More »

Creating an m3u playlist with relative paths using Bash, Powershell or Python

Most of the media player software lack the option to create playlists with relative paths. Absolute paths make it difficult to move and organize media folders without breaking playlists. Let us see how to create playlists with relative paths using Bash, Powershell, and Python. I am not sure how many media players support relative paths

Creating an m3u playlist with relative paths using Bash, Powershell or Python Read More »

Natural Sort

Natural Sort is a hazy concept; it basically means something like human-friendly sort; it could be useful if the strings being sorted are going to be visible to the user. Difference between normal sort and natural sort Let us look at an example, we consider the list [1, 2, 10] to be an ascending order

Natural Sort Read More »