[issue41254] Add to/from string methods to datetime.timedelta
Matthew Kenigsberg
report at bugs.python.org
Fri Jul 30 12:00:44 EDT 2021
Matthew Kenigsberg <matthewkenigsberg at gmail.com> added the comment:
I think it would be nice to have a from str method that could reverse the behavior of str(timedelta). I'm trying to parse files that contain the output of str(timedelta), and there's no easy way to get them back to timedelta's
----------
nosy: +matthewkenigsberg
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41254>
_______________________________________
More information about the Python-bugs-list
mailing list