Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #32915 > unrolled thread
| Started by | Demian Brecht <demianbrecht@gmail.com> |
|---|---|
| First post | 2012-11-07 15:22 -0800 |
| Last post | 2012-11-07 18:31 -0500 |
| Articles | 2 — 2 participants |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: Invalid syntax Demian Brecht <demianbrecht@gmail.com> - 2012-11-07 15:22 -0800
Re: Invalid syntax Roy Smith <roy@panix.com> - 2012-11-07 18:31 -0500
| From | Demian Brecht <demianbrecht@gmail.com> |
|---|---|
| Date | 2012-11-07 15:22 -0800 |
| Subject | Re: Invalid syntax |
| Message-ID | <mailman.3404.1352330555.27098.python-list@python.org> |
On 2012-11-07, at 3:17 PM, Smaran Harihar <smaran.harihar@gmail.com> 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
[toc] | [next] | [standalone]
| From | Roy Smith <roy@panix.com> |
|---|---|
| Date | 2012-11-07 18:31 -0500 |
| Message-ID | <roy-8C90BA.18311007112012@news.panix.com> |
| In reply to | #32915 |
In article <mailman.3404.1352330555.27098.python-list@python.org>, Demian Brecht <demianbrecht@gmail.com> wrote: > On 2012-11-07, at 3:17 PM, Smaran Harihar <smaran.harihar@gmail.com> wrote: > > Any idea where am I going wrong? > > Looks like you're missing a closing parenthesis: What I find is useful in situations like this is to just let emacs auto-indent the code. When it starts indenting (or coloring) differently than I would have expected, that's a clue that I've messed up some punctuation somewhere. This doesn't only work in emacs. Vim, eclipse, etc, all have similar syntax-coloring and auto-indenting features. The same idea works with any of them.
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.python
csiph-web