issues with htmlparser.getpos

rokadvertising at googlemail.com rokadvertising at googlemail.com
Wed Jul 4 08:55:47 EDT 2007


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 ;)




More information about the Python-list mailing list