[Tutor] Basic question -> How to use a class from a file?

Bernard Lebel python at bernardlebel.com
Mon Jan 3 03:35:32 CET 2005


Okay here comes the next question.

In that class, I have 3 functions. Actually, one of them calls the two 
others.

However when I call these functions (wich are placed before the caller 
in the file), I get an error saying that the global name x (the function 
name) is not defined.

What am I doing wrong?


Thanks
Bernard



More information about the Tutor mailing list