A module changing string to seconds.
Project description
str2time
A module changing string to seconds.
How To Install :
pip install str2time
How To Use :
import str2time
# dt = str2time.handle('in' or 'at', 'month/day/year' or 'hh:mm:ss')
dt = str2time.handle('in', '01:20:32')
print(dt)
4832.0
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.