ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> python-Tutor
python-Tutor
Re: [Tutor] Continuously slower program
by Jeff Shannon other posts by this author
Jun 12 2002 7:13PM messages near this date
Re: [Tutor] Continuously slower program | Re: [Tutor] Continuously slower program
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




_______________________________________________
Tutor maillist  -  Tutor@[...].org
http://mail.python.org/mailman/listinfo/tutor
Thread:
Seiji Funai
Michael P. Reilly
Gregor Lingl
SA
Michael P. Reilly
SA
Jeff Shannon
SA
Derrick 'dman' Hudson

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved