John Machin wrote:
> On Sep 5, 10:26 pm, planetmatt <[EMAIL PROTECTED]> wrote:
>> On 5 Sep, 12:34, John Machin <[EMAIL PROTECTED]> wrote:
>>
>>
>>
>>> On Sep 5, 8:58 pm, planetmatt <[EMAIL PROTECTED]> wrote:
I am a Python beginner. I am trying to loop through a CSV file which
I can do.
> > > On Sep 5, 8:58 pm, planetmatt <[EMAIL PROTECTED]> wrote:
>
> > > > I am a Python beginner. I am trying to loop through a CSV file which
> > > > I can do. What I want to change though is for the loop to start at
> > > > row 2 in the file thus excluding column headers.
The DictReader object
On Sep 5, 10:26 pm, planetmatt <[EMAIL PROTECTED]> wrote:
> On 5 Sep, 12:34, John Machin <[EMAIL PROTECTED]> wrote:
>
>
>
> > On Sep 5, 8:58 pm, planetmatt <[EMAIL PROTECTED]> wrote:
>
> > > I am a Python beginner. I am trying to loop through a CSV file which
> > > I can do. What I want to change
On 5 Sep, 12:34, John Machin <[EMAIL PROTECTED]> wrote:
> On Sep 5, 8:58 pm, planetmatt <[EMAIL PROTECTED]> wrote:
>
> > I am a Python beginner. I am trying to loop through a CSV file which
> > I can do. What I want to change though is for the loop to start at
> > row 2 in the file thus excluding
On Sep 5, 8:58 pm, planetmatt <[EMAIL PROTECTED]> wrote:
> I am a Python beginner. I am trying to loop through a CSV file which
> I can do. What I want to change though is for the loop to start at
> row 2 in the file thus excluding column headers.
>
> At present I am using this statement to initi
On 9/5/07, Francesco Guerrieri <[EMAIL PROTECTED]> wrote:
> On 9/5/07, planetmatt <[EMAIL PROTECTED]> wrote:
> > I am a Python beginner. I am trying to loop through a CSV file which
> > I can do. What I want to change though is for the loop to start at
> > row 2 in the file thus excluding column
On Sep 5, 3:58 pm, planetmatt <[EMAIL PROTECTED]> wrote:
> I am a Python beginner. I am trying to loop through a CSV file which
> I can do. What I want to change though is for the loop to start at
> row 2 in the file thus excluding column headers.
>
> At present I am using this statement to initi
On 9/5/07, planetmatt <[EMAIL PROTECTED]> wrote:
>
> I am a Python beginner. I am trying to loop through a CSV file which
> I can do. What I want to change though is for the loop to start at
> row 2 in the file thus excluding column headers.
>
> At present I am using this statement to initiate a
I am a Python beginner. I am trying to loop through a CSV file which
I can do. What I want to change though is for the loop to start at
row 2 in the file thus excluding column headers.
At present I am using this statement to initiate a loop though the
records:
for line in f.readlines():
How do