newbie class troubles

Alex Martelli aleaxit at yahoo.com
Mon Sep 18 10:44:01 CEST 2000


"Brett Lempereur" <a.lempereur[remove this|@|remove this]cableinet.co.uk>
wrote in message news:J06x5.8231$ZN4.1114797 at news1.cableinet.net...
> erm... no. my code at the minute is:
    [snip]
> class filesearch:
    [snip]
>     def search(self, top):
    [snip]
>                     self.dirlist.append(name)
>                     search(self, name)

Seems like this latest line should, instead, be:
                      self.search(name)
though I'm not sure this will cure all of your
problems, it seems worth trying...


Alex







More information about the Python-list mailing list