2010/12/23 CobraSA <[email protected]>

> I have redownloaded those file and I have eve more errors now:
>
No, don't panic, this is ONE error, and the queue of program lines through
which the interpreter reached the error. Always begin to read at the bottom.

>  File "D:\development\pymw\families\ncdb_family.py", line 152
>    def version(self, code):
>      ^
> IndentationError: expected an indented block
>
This is an indentation error at the given line. :-) Indentation is a basic
thing in Python. what belongs to a block, must be intented to the head of
the block, and the same level instructions within the same block MUST be
each under the other. Basically, a program ine following a line ending with
":" character has to be indented to the next indentation level (Python habit
is 4 spaces for each level, and never mix tabs and spaces in the same file).



-- 
Bináris
_______________________________________________
Pywikipedia-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

Reply via email to