On Jul 4, 1:47 pm, rokadvertis... at googlemail.com wrote: > Steve, > > thanks for reply > > there are newlines present, it looks like the files in question are > from a mac, (my text editor tells me they are UTF8 & use CR for > marking newlines) > > Cheers d0h, f = open(this_file,"U") ^^^^ \ this fixed it cheers anyway ;)