On 03/04/2014 05:38 PM, Alan Gauld wrote:
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.
I'm curious what font you use such that you even _can_ confuse '1' and 'l' in
reading (modern fonts are made to avoid such issues, like between 'O' and '0').
d
_______________________________________________
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor