On 04/03/14 18:19, spir wrote:
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".
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').
It's the default font in the Pythonwin IDE.
There is a difference when you print them side by side
but it is minimal.
I just checked and it is CourierNew, Regular, size 10pt.
I should probably change it (although aside from this issue
I like it)!
--
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