Read csv file and create a new file
davea at davea.name
Thu Feb 28 22:23:35 CET 2013
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
> 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
More information about the Python-list