match braces?

John Nagle nagle at
Thu Sep 3 19:35:44 CEST 2009

lallous wrote:
> Hello
> In C/C++ you use the braces where as in Python you use the indentation
> levels.
> Most editors offer a Ctrl+[ to match the braces so that you can easily
> identify the scopes (more correctly "statements blocks").
> I am finding it difficult to see blocks and/or jump from end to start
> with some IDE hotkeys, when coding in Python. Any advise?

    Write more subroutines.

    If indentation gets deep enough that you have problems following
your own code, it's time to break some of the code out as another

				John Nagle

More information about the Python-list mailing list