Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for str2time, version 1.0.2
Filename, size File type Python version Upload date Hashes
Filename, size str2time-1.0.2-py3-none-any.whl (1.7 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page