
March 30, 2022
12:59 p.m.
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