help explaining rationale for indentation

Peter Schneider-Kamp nowonder at nowonder.de
Wed Aug 23 19:20:50 EDT 2000


Aron Insinga wrote:
> 
> *sigh*  A couple of my coworkers think it is hard to read Python code since
> there's no '}' at the end of a compound statement.  S section of the Python

If that's really a problem, you can use pindent.py from the Tools/scripts
directory of the Python distribution. The new version (supporting tab expansion
and removal of # end markers) can be found in the Python CVS (or in the soon
to be 2.0b1).

http://cvs.sourceforge.net/cgi-bin/cvsweb.cgi/python/dist/src/Tools/scripts/pindent.py?cvsroot=python

if-that's-wrapped-you-need-to-unwrap-it-ly y'rs
Peter
-- 
Peter Schneider-Kamp          ++47-7388-7331
Herman Krags veg 51-11        mailto:peter at schneider-kamp.de
N-7050 Trondheim              http://schneider-kamp.de




More information about the Python-list mailing list