Nested if and expected an indent block

kagard@gmail.com RentInGhent at gmail.com
Sun Aug 13 21:04:21 EDT 2006


Dustan wrote:

>
> To see the full traceback, assuming you're using windows, you need to
> run it on the Command prompt.

Hi Dustan:

Here's the traceback:

C:\docs\Python>SylloSolver.py
  File "C:\docs\Python\SylloSolver.py", line
    """
      ^
IndentationError: expected an indented block

I got rid of the triple quote string at the start of the function, and
that cleared up the problem, though I don't know why.

Thanks

Keith




More information about the Python-list mailing list