Generic Utilities for Python scripts