In article <mailman.3404.1352330555.27098.python-l...@python.org>, Demian Brecht <demianbre...@gmail.com> wrote:
> On 2012-11-07, at 3:17 PM, Smaran Harihar <smaran.hari...@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. -- http://mail.python.org/mailman/listinfo/python-list