Sometimes, we want to fix TypeError: ‘str’ does not support the buffer interface with Python.…
Sometimes, we want to grow a list without getting IndexError: list assignment index out of…
Sometimes, we want to split a list based on a condition with Python. In this…
Sometimes, we want to have multiple prints on the same line in Python In this…
Sometimes, we want to suppress scientific notation when printing float values with Python. In this…
Sometimes, we want to declare custom exceptions in Python. In this article, we’ll look at…
Sometimes, we want to find intersection of two nested lists with Python. In this article,…
Sometimes, we want to convert UTC datetime string to local datetime with Python. In this…
Sometimes, we want to prompt for user input and read command-line arguments with Python. In…
Sometimes, we want to get a function name as a string with Python. In this…