[Python-ideas] Printf function?

Nick Coghlan ncoghlan at gmail.com
Sun May 13 16:44:57 CEST 2012


On Sun, May 13, 2012 at 5:05 PM, Steven D'Aprano <steve at pearwood.info> wrote:
> However a lightweight alternative to regexes, something similar to scanf
> only safe, might be a nice idea. You can simulate scanf with regexes, but of
> course that's hardly lightweight.
>
> (But now I'm indulging in idle speculation, not a serious proposal.)

Take a look at the parse module on PyPI :)

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia



More information about the Python-ideas mailing list