
parse is a great library! i've used it a lot. --- Ricky. "I've never met a Kentucky man who wasn't either thinking about going home or actually going home." - Happy Chandler On Wed, Mar 30, 2022 at 1:08 PM Paul Moore <p.f.moore@gmail.com> wrote:
On Wed, 30 Mar 2022 at 17:58, Christopher Barker <pythonchb@gmail.com> wrote:
On Wed, Mar 30, 2022 at 1:50 AM Stéfane Fermigier <sf@fermigier.com>
wrote:
FYI, there is a “parse” library on PyPI:
https://pypi.org/project/parse/
Parse strings using a specification based on the Python format() syntax.
parse() is the opposite of format()
(I haven’t used it myself,
Me neither, but I do like this idea better than scanf style. And there’s an implementation ready to try out.
+1 from me as well.
Paul _______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-leave@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/3GRJX3... Code of Conduct: http://python.org/psf/codeofconduct/