MSDOS/Windows program files

Ralf Muschall ralf.muschall at alphasat.de
Thu Aug 23 22:41:16 CEST 2001


"Aaron Brown" <arundelo at mediaone.net> writes:

> input("Spam?"
> 
> So the interpreter was just waiting around for that trailing
> parenthesis.

A common trick to detect such bugs in languages without semantic
indenting is to reformat the whole source (C-x h C-M-\).  All lines
below the error are then rightshifted, making the bad place stand out.

Is there any trick to do something like this automatically in Python?

Ralf



More information about the Python-list mailing list