On Wed, Mar 11, 2009 at 7:49 PM, Sandeep HS <[email protected]> wrote:
> IndentationError: expected an indented block
All your classes are indented wrong. As the Error message clearly says
it IS an INDENTATION Issue, that is, you have not structured the code
properly that parser can understand.
The Class should be like this:
class Name:
def ibelongtoclass():
ibelongtofunction = 10
Now, if you have downloaded the python file from the internet, you
might have screwed up the indentation by opening in a non-python aware
editor.
Open it either in IDLE, PythonWin (bundled with activestate python)
and see if you code is indented properly, you should be through.
--
Senthil
_______________________________________________
BangPypers mailing list
[email protected]
http://mail.python.org/mailman/listinfo/bangpypers