Python using Regular Expression to convert a string

后端 未结 0 637
名媛妹妹
名媛妹妹 2020-11-21 08:12

I want to convert the duration variable from YouTube Data api?

PT1M6S --> 1:06
PT38S --> 0:38
PT58M4 --> 58:04

Here is my codes:

p[\'d

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