Utility tools in Python