Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #40205
| Path | csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder5.xlned.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <davea@davea.name> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.023 |
| X-Spam-Evidence | '*H*': 0.95; '*S*': 0.00; 'subject:file': 0.07; 'python': 0.09; 'subject:create': 0.09; 'language': 0.14; 'languages.': 0.15; 'differs': 0.16; 'insensitive': 0.16; 'lowercase': 0.16; 'wrote:': 0.17; 'comparing': 0.17; '2.x': 0.22; '3.x': 0.22; 'header:In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'equivalent,': 0.29; 'sets.': 0.29; 'character': 0.29; 'info': 0.32; 'problem': 0.33; 'to:addr:python-list': 0.33; 'languages': 0.33; 'thanks': 0.34; 'pm,': 0.35; 'characters': 0.36; 'method': 0.36; 'uses': 0.37; 'subject:: ': 0.38; 'some': 0.38; 'to:addr:python.org': 0.39; 'received:192': 0.39; 'received:192.168': 0.40; 'between': 0.63; 'received:74.208': 0.71; 'actually,': 0.84; 'received:74.208.4.194': 0.84 |
| Date | Thu, 28 Feb 2013 19:13:27 -0500 |
| From | Dave Angel <davea@davea.name> |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130106 Thunderbird/17.0.2 |
| MIME-Version | 1.0 |
| To | python-list@python.org |
| Subject | Re: Read csv file and create a new file |
| References | <512fac9c$0$40355$4fafbaef@reader1.news.tin.it> <512fb533$0$40355$4fafbaef@reader1.news.tin.it> <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> |
| In-Reply-To | <512fd4ab$0$40355$4fafbaef@reader1.news.tin.it> |
| Content-Type | text/plain; charset=ISO-8859-1; format=flowed |
| Content-Transfer-Encoding | 7bit |
| X-Provags-ID | V02:K0:D2RqEsUtLU32mTVwUueHofiq+uuef6IGMbSPKozQ5Rr z3wbPrjWaAIJHz0QSIT7oy2ba/vxKC7bRV19CnVj/+6UVxut4R Ge3gwy3YeIMEL0fN9t9tb1P/r2XV3KyikYP/CoYYInQX5BvzqI V7IGoxHBqmJC7SSNC+sTSpuh4ksB/zwk9zq68vqo6ZSVXUVKZF +3rchYnnEx6BqN42geQ2HrL54iBdiXv7j+KVciZftZypTLHV3y 2N0AUXx7R7jVMTgEiT06CfWfZW/ynptmlMFptrhPgyzXxbOBdC M8LJa0sjr+Hdhw7Ia4yuf5MVJSkKwJnKGj+hpDR4qYG9Oandw= = |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.2694.1362096823.2939.python-list@python.org> (permalink) |
| Lines | 19 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1362096823 news.xs4all.nl 6950 [2001:888:2000:d::a6]:38794 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:40205 |
Show key headers only | 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 | Next — Previous in thread | Next in thread | Find similar | Unroll 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