Sometimes, we want to make function decorators and chain them together with Python. In this…
Coding
Sometimes, we want to parse a string to a float or int with Python. In…
Sometimes, we want to print colored text to the terminal with Python. In this article,…
Sometimes, we want to split a list into evenly sized chunks with Python. In this…
Sometimes, we want to check if an object has an attribute in Python. In this…
Sometimes, we want to read a file line-by-line into a list with Python. In this…
Sometimes, we want to limit floats to two decimal points with Python. In this article,…
Sometimes, we want to print literal curly-brace characters in a string and also use .format…
Sometimes, we want to add static methods in Python classes. In this article, we’ll look…
Sometimes, we want to count the occurrences of a list item with Python. In this…