tools.utils

Yohn Y. 2025-05-04

5:a75ba21f4938 Go to Latest

tools.utils/time/seconds

+ time/seconds

History
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/time/seconds	Sun May 04 17:05:30 2025 +0300
     1.3 @@ -0,0 +1,6 @@
     1.4 +#!/usr/bin/env python3
     1.5 +
     1.6 +from datetime import timedelta
     1.7 +from sys import argv
     1.8 +
     1.9 +print(timedelta(seconds=int(argv[1])))