list incomprehensions!!!

Sign up for a GitHub account Sign in All Gists secret trinque / gist:2bfd6aa98906d4bdaacd Created August 04, 2014 Code Revisions 1 /.sunken-menu-group /.sunken-menu-contents Embed HTTPS SSH You can clone with HTTPS or SSH . Download Gist /.only-with-full-nav list incomprehensions!!! View gist:2bfd6aa98906d4bdaacd gistfile1.py Raw File suppressed. Click to show. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 def parse_file ( filename ): return { hdr . group ( 1 ): { "fields" : [ field . strip () for field in hdr . group ( 2 ) . split ( ', ' ) ], "data" : data } for hdr , data in ({ hdr_re . match ( section [ 0 ][ 0 ]): section [ 1 :] for section in [[[ field for field in line . split ( ' \t ' )] ...

Linked on 2014-08-04 19:24:13 | Similar Links