python format string hex uppercase