From: Vincent Foley Date: 2002-09-24T04:18:53+09:00 Subject: Re: Speed up suggestions In article <20020923195806.GA1278@hannibal>, gminick wrote: > You're not fair ;> As I said in other post, python also has readlines > method, and it works faster than read/split method. > readlines does not do what I want. It gives an array that looks like this: ["aaa\n", "bbb\n", "ccc\n"] while read.split('\n') gives: ["aaa", "bbb", "ccc"] which is exactly what I want. -- Vincent Foley-Bourgon Email: vinfoley@iquebec.com Homepage: http://darkhost.mine.nu:81