Commonly used python stuff