indendation error

Jarek Zgoda jzgoda at
Fri Dec 26 08:56:36 CET 2003

km <km at> pisze:

>  File "", line 6 self.x = x ^ IndentationError: expected an
>  indented block
> kindly enlighten hwo to fix this -- it will be great if someone can
> direct me to an online link regarding  the rules of indendation.

Don't mix tabs and spaces in your code, use either tabs OR spaces.

Jarek Zgoda
Unregistered Linux User # -1 JID:zgoda at

More information about the Python-list mailing list