Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.065 X-Spam-Evidence: '*H*': 0.87; '*S*': 0.00; 'url:github': 0.09; 'cc:addr:python-list': 0.10; 'wrote:': 0.17; 'cc:2**0': 0.23; 'idea': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'looks': 0.26; 'skip:@ 10': 0.27; 'received:google.com': 0.34; 'pm,': 0.35; 'received:209.85.220': 0.35; 'received:209.85': 0.35; 'message-id:@gmail.com': 0.36; 'closing': 0.36; 'should': 0.36; 'received:209': 0.37; 'subject:: ': 0.38; 'received:10': 0.38; 'where': 0.40; 'header:Received:5': 0.40; 'header:Message- Id:1': 0.62 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; bh=aIDFP+M0J0IibTtQaZmjjVOJ0A88WyRzBOdH12aGUYg=; b=hEmepmEzXjvH2arc47evhuXzV88xLIFilAYh6kqxUxQwvFZ7acIHqw+DgQmEjwUmxv kWbLe7uEqA6/TrMhT4vvnvuRah4K3zypZt0t489cDsLdokPKcX/weIuIHR04whdsNKXA 7MW82F3iD4aEdzJHiPK/Ssyi1jPfRP3LHWsZ4St6lQKAAVcPRsB0f23YWP5d6hmfz1IQ IOLp+yvPzDrO1EFbp7IPYSBu04LjhHI1yERN6L8U9gxah3f/wIMEp2Gc0SgV3MxoAUWf 2jK7NGCf0NwJhLhcsvZCru7EoCdW0+EkXuagfWmNDh4bE+VH7AFl7UHOFvIiWfzg9t99 U+QQ== Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Subject: Re: Invalid syntax From: Demian Brecht In-Reply-To: Date: Wed, 7 Nov 2012 15:22:29 -0800 Content-Transfer-Encoding: quoted-printable References: To: Smaran Harihar X-Mailer: Apple Mail (2.1499) Cc: python-list X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 22 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1352330555 news.xs4all.nl 6958 [2001:888:2000:d::a6]:43432 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:32915 On 2012-11-07, at 3:17 PM, Smaran Harihar = wrote: > Any idea where am I going wrong? Looks like you're missing a closing parenthesis: w.record(collection[i][0], MAT[0], TSD[0], AnnTMin[0], ANNPREC[0], = float(collection[i][2]), float(collection[i][1]) should be w.record(collection[i][0], MAT[0], TSD[0], AnnTMin[0], ANNPREC[0], = float(collection[i][2]), float(collection[i][1])) Demian Brecht @demianbrecht http://demianbrecht.github.com