[Tutor] python Error:IndentationError: expected an indented block
Waving Brain
wavingbrain at gmail.com
Wed Nov 8 16:56:09 CET 2006
Use the "pass" keyword like this:
def DoCsubnet1 (action, subject, target, args): # DoC servers net
pass
On 11/8/06, Antonios Katsikadamos <antonioskatsikadamos at yahoo.com> wrote:
> hi all. I try to run an old python code and i get the following message
>
> File "/home/antonis/db/access.py", line 119
> def DoCsubnet1 (action, subject, target, args): # DoC
> servers net
> ^
> IndentationError: expected an indented block
>
> 1) and I don't know what causes it. I would be grate full if you could give
> me a tip.
>
> 2) how can i overcome it? Can i use the keyword pass?and if how ccan i use
> it
>
>
> Kind regards,
>
> Antonios
>
> ________________________________
> Sponsored Link
>
> Degrees online in as fast as 1 Yr - MBA, Bachelor's, Master's, Associate -
> Click now to apply
>
>
> _______________________________________________
> Tutor maillist - Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor
>
>
>
More information about the Tutor
mailing list