Read csv file and create a new file

Dave Angel davea at davea.name
Fri Mar 1 01:13:27 CET 2013


On 02/28/2013 05:05 PM, io wrote:
>
>> 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
>
> Thanks for the info !
> What about str().lower()?
>

Actually, it's str.lower(), and that's what I meant.  Must be some other 
language that uses tolower().

-- 
DaveA



More information about the Python-list mailing list