def read_fixture_lines(filename):
 lines = []
 for line in codecs.open(filename, u'rb', encoding=u'utf-8'):
  lines.append(line.strip())
 return lines

def read_fixture_lines ( filename ) : lines = [ ] for line in codecs . open ( filename , u'rb' , encoding = u'utf-8' ) : lines . append ( line . strip ( ) ) return lines
read lines of text from file .