parsers – Parsers for common human-readable data formats

genshi_forms.parsers.date(string)
Parse dates in various formats into a datetime.date object. If the string doesn’t match a known format, or is an invalid date, a ValueError will be raised.
genshi_forms.parsers.time(string)
Parse times in various formats into a datetime.time object. If the string doesn’t match a known format, or is an invalid time, a ValueError will be raised.

Previous topic

errors – Exception classes

This Page

Quick search