Is there a way to convert to a timedelta from an integer in python?

后端 未结 0 1960
眼角桃花
眼角桃花 2021-01-27 00:58

I know you can get an integer from a timedelta using seconds or total_seconds(). I want to do it backwards, from the int get the time delta. Is there a simple way to do it?

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