just some simple utils I frequently use for python scripts