strange problem with def in class

Peter Hansen peter at
Wed Aug 18 02:47:36 CEST 2004

Johan wrote:
> I don't get it:
> I'm trying to write a "readfile" function which would replace some code from
> 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...


More information about the Python-list mailing list