Python tiny gems: any and all functions
Scenario: We need to check if any of the list elements is True…
# Linux, Devops, Scripting, Cats and various things come to my mind
Scenario: We need to check if any of the list elements is True…
Preparing our data for analysis / reporting takes most of the task time, but what to clean? how to clean them using Pandas functionality……
As you probably know on many setups the hosts are not directly accessible but there is an SSH gateway on the between (also known as……
Image the following scenario: every-night we execute a task the task is a shell script that copies some files remotelly.…
To zip a directory recursively…
Imagine the sad scenario: you have started an scp operation of a 10GB file over a slow non-stable line.. time passes by.. slowly and……
One common way to runfunctions in parallel with Python is to use the multiprocessing module which is powerfull, it has many options to……
Scenario: Read a large number of xls files with pandas convert them to dataframes and concat them to a single dataframe.…
In this scenario we need to get some files from server B through using server A as a proxy jump, and additionally we need to pass the……
One of the most common tasks when it comes to file manipulation is renaming files, to rename one or two files manually is easy, but how we……