frequently used python utilities