Completely INNOCENT Indentation question

valued customer scooterm at hotmail.com
Wed Oct 13 09:32:42 EDT 2004


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" ??



More information about the Python-list mailing list