strange problem with def in class

Peter Hansen peter at engcorp.com
Tue Aug 17 20:47:36 EDT 2004


Johan wrote:
> I don't get it:
> I'm trying to write a "readfile" function which would replace some code from
[snip]
> but I can't define this function.... when I call the function the
> interpreter throws an exception of unknown function

> what am I doing wrong?

Not posting the actual traceback including the real error that
you are getting.  It will include the lines of source that
were involved and will help us help you...

-Peter



More information about the Python-list mailing list