On Jul 4, 1:47 pm, [EMAIL PROTECTED] 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 ;)

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to