[Tutor] Continuously slower program

Jeff Shannon jeff@ccvcorp.com
Wed, 12 Jun 2002 12:13:02 -0700


SA wrote:

>
> I get the following error when I run the revamped script:
>  File "./TestMeter2.py", line 35
>     self.testMeterCanvas.coords(self.c, 33, 33, self.x, self.y)
>     ^
> SyntaxError: invalid syntax
>
> What did I do wrong?

Often when Python throws a SyntaxError at the beginning of a line, the problem
is really with the previous line.  Can you cut&paste the entire method that
this is from?  That way, we can see a bit more context, and and can probably
spot the error easier.

Jeff Shannon
Technician/Programmer
Credit International