Skip to content

Make machine more friendly to you! Convert seconds to a human string and back!

License

Notifications You must be signed in to change notification settings

andrew000/machine2human

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

License: MIT

machine2human

from m2h import Hum2Sec, Sec2Hum

>> print(Sec2Hum(80000).string)
'22 часа 13 минут 20 секунд'


>> print(Hum2Sec("22 часа 13 минут 20 секунд").seconds)
80000

About

Make machine more friendly to you! Convert seconds to a human string and back!

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages