On 02/28/2013 03:46 PM, io wrote:
Neil, it works great!
Just one question : what can i do for ignoring the case sensitive of the
symbol?
It wasn't working initially, then i wrote the values respecting case
sensitive in the file esclusioni and all worked as a charm. I would just
like to know if i could ignore the case senstive function.
Thanks alot for your help.
I'm in debt with you, i'll spend a pizza for you!
Just use a tolower() method on both strings when you're comparing them.
Of course, that may not work well with international character sets.
Some characters in some languages have no lowercase equivalent, and
using toupper() has the same problem in other languages.
Also, the approach to case insensitive differs between Python 2.x and 3.x
--
DaveA
--
http://mail.python.org/mailman/listinfo/python-list