def _filterout_legal(lines):
 return [line for line in lines[5:] if ((not ('This experiment was created using PsychoPy2 Experiment Builder (' in line)) and (not (('trialList=data.importConditions(' in line) and (".xlsx'))" in line))))]

def _filterout_legal ( lines ) : return [ line for line in lines [ 5 : ] if ( ( not ( 'This experiment was created using PsychoPy2 Experiment Builder (' in line ) ) and ( not ( ( 'trialList=data.importConditions(' in line ) and ( ".xlsx'))" in line ) ) ) ) ]
ignore first 5 lines: header info .