Sometimes, we want to return two values from a function in Python. In this article,…
Month: April 2022
Sometimes, we want to access multiple elements of list knowing their index with Python. In…
Sometimes, we want to find the mime type of a file in Python. In this…
Sometimes, we want to tail a log file in Python. In this article, we’ll look…
Sometimes, we want to use Python strptime() with timezones. In this article, we’ll look at…
Sometimes, we want to create permutations between two lists of unequal length with Python. In…
Sometimes, we want to sum the digits of a number with Python. In this article,…
Sometimes, we want to remove the ANSI escape sequences from a string in Python. In…
Sometimes, we want to extract extension from filename in Python. In this article, we’ll look…
Sometimes, we want to use PhantomJS in Python. In this article, we’ll look at how…