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.mo...@gmail.com> wrote: > On Wed, 30 Mar 2022 at 17:58, Christopher Barker <python...@gmail.com> > wrote: > > > > On Wed, Mar 30, 2022 at 1:50 AM Stéfane Fermigier <s...@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-le...@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/3GRJX3N7536QK2WUF6VT7J2273VCZ5QI/ > Code of Conduct: http://python.org/psf/codeofconduct/ >
_______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@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/VSST3URVSJB6QPNUUQQ372SUBXOEM4Y5/ Code of Conduct: http://python.org/psf/codeofconduct/