- toprint.append([u'**', u'classe', `i+1`, u'**', '', ''])
- toprint.append([u'****'] + prof[`i+1`][0] + [u'****'])
- rest = [[`line[1]`, `line[2]`, `line[3]`, `line[4]`, line[6], line[7].replace('< 0,0001', '0.00009').replace('NS (','').replace(')','')] for line in prof[`i+1`][1:]]
- for i, line in enumerate(prof[`i+1`][1:]) :
- if line[0] == u'*' :
- rest[i] = [u'*', u'*', u'*', u'*', u'*', u'*']
- elif line[0] == u'*****' :
- rest[i] = [u'*****',u'*',u'*', u'*', u'*', u'*']
+ toprint.append(['**', 'classe', repr(i+1), '**', '', ''])
+ toprint.append(['****'] + prof[repr(i+1)][0] + ['****'])
+ rest = [[repr(line[1]), repr(line[2]), repr(line[3]), repr(line[4]), line[6], line[7].replace('< 0,0001', '0.00009').replace('NS (','').replace(')','')] for line in prof[repr(i+1)][1:]]
+ for i, line in enumerate(prof[repr(i+1)][1:]) :
+ if line[0] == '*' :
+ rest[i] = ['*', '*', '*', '*', '*', '*']
+ elif line[0] == '*****' :
+ rest[i] = ['*****','*','*', '*', '*', '*']