Python indentation deters newbies?
skip at pobox.com
Fri Aug 13 16:47:17 CEST 2004
beliavsky> I wonder if there is a way to remove this initial
beliavsky> barrier. Could an alternate source form be defined, so that
beliavsky> there are matching if-endif and for-next constructs instead
beliavsky> of significant indentation?
Look at Tools/scripts/pindent.py in the standard distribution. Run it as a
preprocessor over your code before running it.
More information about the Python-list