[Tutor] defining functions and classes

Steven D'Aprano steve at pearwood.info
Sat Jan 15 11:34:46 CET 2011


Brett Murch wrote:

> I keep getting a syntax error on calling it. any ideas on what I'm doing
> wrong?

Should we *guess*, or would you like to share with us the actual error 
you are getting?

My guess is that you're not getting a syntax error at all, you're 
getting a NameError that Skills is not defined. Am I close?

If my guess is wrong, please copy the *full* error, don't paraphrase it, 
retype it from memory, summarise it, or otherwise change it in any way.


-- 
Steven



More information about the Tutor mailing list