Provide a pythonic way to format string.