Python format number in logger message using %s format?

后端 未结 0 1895
礼貌的吻别
礼貌的吻别 2020-12-06 13:31

I\'d like to log a number formatted with commas, but using the delayed interpolation method.

some_num = 1234567

# This does the formatting like I want:
logge         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题