Re: issues with htmlparser.getpos

2007-07-04 Thread rokadvertising
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")

Re: issues with htmlparser.getpos

2007-07-04 Thread rokadvertising
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 -- http://mail.python.org/mailman/listinfo/python-list

Re: issues with htmlparser.getpos

2007-07-04 Thread Steve Holden
dysmas wrote: > Hi, > > > Im having an issue with HTMLParser, the getpos() funtion sometimes > returns things like : > > (1, 1247) > (1, 2114) > (1, 2168) > (1, 2228) > (1, 2295) > (1, 2382) > (1, 2441) > (1, 2963) > (1, 3040) > > i guess this is because the HTMLParser has not correctly parsed