Re: [Tutor] Extracting columns from CSV

2009-10-11 Thread Lie Ryan
Kent Johnson wrote: > (Pretty cool BTW that *f works, I wasn't sure if it could take an > iterable instead of a sequence.) Just be careful not to use zip(*f) on an infinite iterable... ___ Tutor maillist - Tutor@python.org To unsubscribe or change sub

Re: [Tutor] Extracting columns from CSV

2009-10-11 Thread Kent Johnson
On Sun, Oct 11, 2009 at 8:40 AM, Utkarsh "" wrote: > Hello, I have a CSV file, from which I want to extract data. > The CSV file is arranged like this: > Time, InSec, Open, High, Low, Close, Qty > 09:55:17,35717,41.95,41.95,41.95,41.95,105 > 09:56:03,35763,41.75,41.75,41.75,41.75,20785 > 09:56:40,

Re: [Tutor] Extracting columns from CSV

2009-10-11 Thread vishwajeet singh
On Sun, Oct 11, 2009 at 6:10 PM, Utkarsh "" wrote: > Hello, I have a CSV file, from which I want to extract data. > The CSV file is arranged like this: > > Time, InSec, Open, High, Low, Close, Qty > 09:55:17,35717,41.95,41.95,41.95,41.95,105 > 09:56:03,35763,41.75,41.75,41.75,41.75,20785 > 09:56:

[Tutor] Extracting columns from CSV

2009-10-11 Thread Utkarsh ""
Hello, I have a CSV file, from which I want to extract data. The CSV file is arranged like this: Time, InSec, Open, High, Low, Close, Qty 09:55:17,35717,41.95,41.95,41.95,41.95,105 09:56:03,35763,41.75,41.75,41.75,41.75,20785 09:56:40,35800,41.75,41.75,41.75,41.75,8950 I wanted to extract each co