[Tutor] HTML Parser woes

Steven D'Aprano steve at pearwood.info
Tue Mar 4 17:31:02 CET 2014


On Tue, Mar 04, 2014 at 04:26:01PM +0000, Alan Gauld wrote:
> My turn to ask a question.
> This has me pulling my hair out. Hopefully it's something obvious...
[...]
> And the output looks like:
> 
> start test
> Class Value:  'xl66'
> Class Value:  'xl66'
> Class Value:  'xl66'
> Class Value:  'xl66'
> Class Value:  'xl65'
> Class Value:  'xl65'
> end test
> 
> As you can see I'm picking up the class attribute and
> its value but the conditional test for x165 is failing.

It's "x L 65", not "x ONE 65".



-- 
Steven


More information about the Tutor mailing list