Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionpythonicView Question on Stackoverflow
Solution 1 - LinuxDaniel Kamil KozarView Answer on Stackoverflow
Solution 2 - LinuxshigoelView Answer on Stackoverflow