circulate/sslc_allreg.py
changeset 359 cb17c87b090e
parent 358 162e3e453920
child 385 c70118cdde66
equal deleted inserted replaced
358:162e3e453920 359:cb17c87b090e
     1 scores = [[], [], [], [], []]
     1 scores = [[], [], [], [], []]
     2 ninety_percents = [{}, {}, {}, {}, {}]
     2 ninety_percents = [{}, {}, {}, {}, {}]
     3 
     3 
     4 for record in open('sslc1.txt'):
     4 for record in open('sslc1.txt'):
     5     record = record.strip()
     5 #    record = record.strip()
     6     fields = record.split(';')
     6     fields = record.split(';')
     7 
     7 
     8     region_code = fields[0].strip()
     8     region_code = fields[0].strip()
     9    
     9    
    10     for i, field in enumerate(fields[3:8]):
    10     for i, field in enumerate(fields[3:8]):