[Tutor] HTML Parser woes

Alan Gauld alan.gauld at btinternet.com
Tue Mar 4 17:38:32 CET 2014


On 04/03/14 16:31, Steven D'Aprano wrote:
> 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".
>
>
>

Doh! I said it would be simple..,. :-(

And xl = Excel, I should have guessed.

Thanks Steven,

-- 
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.flickr.com/photos/alangauldphotos



More information about the Tutor mailing list