elis aeris wrote: > no, this one: > > > > In [4]:import array > > In [5]:def f7(list): > .5.: return array.array('B', list).tostring() > .5.: > > In [6]:f7([97, 98, 99]) > Out[6]:'abc' That has nothing at all to do with reading lines of a file. It is the fastest way to solve one particular problem, not every loop. Kent