> this code python interprets as: > > data = myfile.read(10) > for chunk in data: > <and here chunk is a single-character string>. > Aha - now that you put it that way it makes sense. And thanks to all who replied - I'll try out the other suggestions too. Mark