New to Python - block grouping (spaces)

Chris Angelico rosuav at
Thu Apr 16 17:03:51 CEST 2015

On Fri, Apr 17, 2015 at 12:52 AM, Blake McBride <blake1024 at> wrote:
> 2.  Having been an employer, it is difficult to force programmers to use any particular editor or style.  Different editors handle tabs and spaces differently.  This is all a bloody nightmare with Python.
> 3.  Languages that use braces (or the like) can be run through a program beautifier to correct the indentation.  You are just screwed in Python.  So, Python may be a cute language for you to use as an individual, but it is unwieldy in a real development environment.

If you're prepared to run a beautifier on your employees' code, you
should have no problem requiring that they adopt a syntactically-legal
style. You're already throwing away any option of indentation not
matching the physical structure of the code, so why not simply have
the indentation define the physical structure?


More information about the Python-list mailing list