Completely INNOCENT Indentation question

Cliff Wells clifford.wells at
Wed Oct 13 15:47:32 CEST 2004

On Wed, 2004-10-13 at 06:32 -0700, valued customer wrote:
> Is there a way in python to indicate that you want your 
> "base level of indentation" to be four spaces instead of
> zero?
> As far as I know now, the only way is by introducing some
> sort of language statement, for example:
> if (1):
>     ### begin python script
>     foo = 1
>     bar = 2
>     print foo
>     print bar
> Is there a way to accomplish this without introducing
> the "throwaway if statement" ??

I don't think so.  Just out of curiosity, why would you want to do that?
If you're unable to see the leftmost characters, just try dragging your
editor window a bit to the right <wink>

Cliff Wells <clifford.wells at>

More information about the Python-list mailing list