Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #40205

Re: Read csv file and create a new file

Date 2013-02-28 19:13 -0500
From Dave Angel <davea@davea.name>
Subject Re: Read csv file and create a new file
References (2 earlier) <ap9s02Fuf0kU1@mid.individual.net> <512fbcc7$0$40355$4fafbaef@reader1.news.tin.it> <512fc240$0$40355$4fafbaef@reader1.news.tin.it> <mailman.2684.1362086631.2939.python-list@python.org> <512fd4ab$0$40355$4fafbaef@reader1.news.tin.it>
Newsgroups comp.lang.python
Message-ID <mailman.2694.1362096823.2939.python-list@python.org> (permalink)

Show all headers | View raw


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

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Read csv file and create a new file io <maroso@libero.it> - 2013-02-28 19:14 +0000
  Re: Read csv file and create a new file Neil Cerutti <neilc@norwich.edu> - 2013-02-28 19:32 +0000
  Re: Read csv file and create a new file Joel Goldstick <joel.goldstick@gmail.com> - 2013-02-28 14:34 -0500
  Re: Read csv file and create a new file Dave Angel <davea@davea.name> - 2013-02-28 14:35 -0500
  Re: Read csv file and create a new file io <maroso@libero.it> - 2013-02-28 19:51 +0000
    Re: Read csv file and create a new file Neil Cerutti <neilc@norwich.edu> - 2013-02-28 20:11 +0000
      Re: Read csv file and create a new file io <maroso@libero.it> - 2013-02-28 20:23 +0000
        Re: Read csv file and create a new file io <maroso@libero.it> - 2013-02-28 20:46 +0000
          Re: Read csv file and create a new file io <maroso@libero.it> - 2013-02-28 20:51 +0000
          Re: Read csv file and create a new file Dave Angel <davea@davea.name> - 2013-02-28 16:23 -0500
            Re: Read csv file and create a new file io <maroso@libero.it> - 2013-02-28 22:05 +0000
              Re: Read csv file and create a new file Dave Angel <davea@davea.name> - 2013-02-28 19:13 -0500
  Re: Read csv file and create a new file Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-02-28 21:04 -0500
    Re: Read csv file and create a new file io <maroso@libero.it> - 2013-03-04 19:04 +0000
      Re: Read csv file and create a new file Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-03-04 23:58 +0000

csiph-web