[EMAIL PROTECTED] wrote:
> Simon Forman wrote:
>>> 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.
>>>
>> Ah, yes. The docstring for a function (or at least its first
>> triple-quote) must be indented to the same degre
Simon Forman wrote:
> > 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.
> >
> Ah, yes. The docstring for a function (or at least its first
> triple-quote) must be indented to the same degree as its statements.
> (If y
[EMAIL PROTECTED] wrote:
> 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
> """
> ^
>
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 go
> Thanks for the replies:
>
> I'm sorry, the colon is there in the original, I accidentally blew it
> off when I added the comment. The only information I get from IDLE is a
> dialog box that says:
>
> Syntax Error
> There's an error in your program:
> expected an indented block
>
> Keith
To see t
alisonken1 wrote:
> [EMAIL PROTECTED] wrote:
> > Greetings:
>
>
> > elif q.lower() == "some"# s in some is highlighted
>
> > Any ideas? Thanks in advance.
> >
> > Keith
>
> Would the missing colon have something to do with it?
>
> > elif q.lower() == "some":
Thanks for the replies:
I'm
[EMAIL PROTECTED] wrote:
> Greetings:
> elif q.lower() == "some"# s in some is highlighted
> Any ideas? Thanks in advance.
>
> Keith
Would the missing colon have something to do with it?
> elif q.lower() == "some":
--
http://mail.python.org/mailman/listinfo/python-list
On 13 Aug 2006 16:28:45 -0700, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Greetings:
>
> I'm brand new to Python and decided to write a syllogism solver for a
> class I'm taking. At the start of the program, I define a function that
> classifies the type of each statement in the syllogism. Pyth
Greetings:
I'm brand new to Python and decided to write a syllogism solver for a
class I'm taking. At the start of the program, I define a function that
classifies the type of each statement in the syllogism. Python tells me
that it is expecting an indented block at the s in "some". I can see
what