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
_______________________________________________
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor