[Python-ideas] str.format utility function