Is pythonic version of scanf() or sscanf() planned?

TerryP bigboss1964 at gmail.com
Mon Oct 12 00:15:23 EDT 2009


On Oct 9, 5:59 pm, Joshua Kugler <jos... at joshuakugler.com> wrote:
> ryniek90 wrote:
> > So maybe someone, someday decide to
> > put in Python an alternative, really great implementation ofscanf() ?
>
> My idea of a "greatscanf() function" would be a clever combination of
> re.match(), int(), and float().
>
> j

Actually, the Python documentation has something interesting:
http://docs.python.org/3.1/library/re.html#simulating-scanf



More information about the Python-list mailing list