indendation error

Jarek Zgoda jzgoda at gazeta.usun.pl
Fri Dec 26 08:56:36 CET 2003


km <km at mrna.tn.nic.in> pisze:

>  File "script.py", 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
http://www.zgoda.biz/ JID:zgoda at chrome.pl http://zgoda.jogger.pl/




More information about the Python-list mailing list