<s> from form_parser import form_parser <EOL> from filing import filing <EOL> fp = form_parser ( ) <EOL> filingnumbers = ( <NUM_LIT> , <NUM_LIT> , <NUM_LIT> , <NUM_LIT> , <NUM_LIT> ) <EOL> for filingnum in filingnumbers : <EOL> f1 = filing ( filingnum , True ) <EOL> formtype = f1 . get_form_type ( ) <EOL> version = f1 . version <EOL> print "<STR_LIT>" % ( f1 . filing_number , formtype , version , f1 . is_amendment ) <EOL> if f1 . is_amendment : <EOL> print "<STR_LIT>" % ( filing . headers [ '<STR_LIT>' ] ) <EOL> if formtype == '<STR_LIT>' : <EOL> f1 . save_to_cache ( ) <EOL> if not fp . is_allowed_form ( formtype ) : <EOL> print "<STR_LIT>" % ( f1 . filing_number , formtype ) <EOL> continue <EOL> firstrow = fp . parse_form_line ( f1 . get_first_row ( ) , version ) <EOL> print "<STR_LIT>" % ( firstrow ) <EOL> schedule_e_lines = f1 . get_rows ( '<STR_LIT>' ) <EOL> for e_line in schedule_e_lines : <EOL> firstrow = fp . parse_form_line ( e_line , version ) <EOL> print "<STR_LIT>" % ( firstrow ) </s>
