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


Groups > comp.lang.python > #32916

Re: Invalid syntax

References <CAHRZm1tsR-Uu4-18EZ-kgsDY7FvxYyMB1aMk-=xTm_m4ikqEFQ@mail.gmail.com>
From "R. Michael Weylandt" <michael.weylandt@gmail.com>
Date 2012-11-07 23:22 +0000
Subject Re: Invalid syntax
Newsgroups comp.lang.python
Message-ID <mailman.3405.1352330586.27098.python-list@python.org> (permalink)

Show all headers | View raw


On Wed, Nov 7, 2012 at 11:17 PM, Smaran Harihar
<smaran.harihar@gmail.com> wrote:
> Hi guys,
>
> I am stuck in one of those non identifiable error location in the code. The
> code keeps giving invalid syntax. This is my code.
>
> I am using the same code for another code and not sure why this is not
> working. This is the traceback that I am getting.
>
> Any idea where am I going wrong?

If the dpaste link is correct, you're missing a close-parenthesis at
the end of the w.record line:

w.record(collection[i][0], MAT[0], TSD[0], AnnTMin[0], ANNPREC[0],
float(collection[i][2]), float(collection[i][1]) ## <<--- Hereabouts

Cheers,
Michael

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


Thread

Re: Invalid syntax "R. Michael Weylandt" <michael.weylandt@gmail.com> - 2012-11-07 23:22 +0000

csiph-web