Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #32918
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!news-out.readnews.com!transit3.readnews.com!panix!roy |
|---|---|
| From | Roy Smith <roy@panix.com> |
| Newsgroups | comp.lang.python |
| Subject | Re: Invalid syntax |
| Date | Wed, 07 Nov 2012 18:31:10 -0500 |
| Organization | PANIX Public Access Internet and UNIX, NYC |
| Lines | 16 |
| Message-ID | <roy-8C90BA.18311007112012@news.panix.com> (permalink) |
| References | <CAHRZm1tsR-Uu4-18EZ-kgsDY7FvxYyMB1aMk-=xTm_m4ikqEFQ@mail.gmail.com> <mailman.3404.1352330555.27098.python-list@python.org> |
| NNTP-Posting-Host | localhost |
| X-Trace | reader1.panix.com 1352331070 24347 127.0.0.1 (7 Nov 2012 23:31:10 GMT) |
| X-Complaints-To | abuse@panix.com |
| NNTP-Posting-Date | Wed, 7 Nov 2012 23:31:10 +0000 (UTC) |
| User-Agent | MT-NewsWatcher/3.5.3b3 (Intel Mac OS X) |
| Xref | csiph.com comp.lang.python:32918 |
Show key headers only | View raw
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.
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
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
csiph-web