Re: (Python) Generator Tricks For Systems Programmer (pdf)
by julian37 on Wednesday December 14, 2011 @05:23AM
(#3351333)
An alternate (and, arguably, more elegant) approach to "Parsing with Regex" and "Tuples to Dictionaries" is to use named regex groups and the MatchObject's "groupdict" method like so:
[ Parent
| on HN ]
There are no comments on this comment yet.