SyntaxError: invalid syntax
Fredrik Lundh
fredrik at pythonware.com
Tue Dec 27 03:28:59 EST 2005
Steven D'Aprano wrote:
> Please post the *full* traceback of the error, not just the last
> description.
>
> For example, something like this:
>
> >>> x = x+*9
> File "<stdin>", line 1
> x = x+*9
> ^
> SyntaxError: invalid syntax
>
> Just "SyntaxError" on its own is not enough to tell what is going on,
> except to say that it sounds like a bug in the program you are trying to
> run.
or that he's using a program written for a newer version of Python than
the one he has on his machine...
</F>
More information about the Python-list
mailing list