This is done so frequently I'm curious if/why the python standard library doesn't have a call for it.  Strange.