阅读背景:

如何从简单的字符串构造timedelta对象

来源:互联网 

I'm writing a function that needs a timedelta input to be passed in as a string. The user must enter something like "32m" or "2h32m", or even "4:13" or "5hr34m56s"... Is there a library or something that has this sort of thing already implemented?I'm writing a function that needs a timedelta i




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: