newbie class troubles
Aahz Maruch
aahz at panix.com
Sun Sep 17 11:42:26 EDT 2000
In article <sc5x5.8117$ZN4.1096440 at news1.cableinet.net>,
Brett Lempereur <a.lempereur[remove this|@|remove this]cableinet.co.uk> wrote:
>
>I'm trying to write a recursive file search function based on the
>os.path.walk() function, however when i come to run the search funtion
>(which is contained within a class) i get this error: "TypeError: unbound
>method must be called with class instance 1st argument". Can anybody help?
Don't use a class method as the function argument to os.path.walk().
Why do you want to do that?
--
--- Aahz (Copyright 2000 by aahz at pobox.com)
Androgynous poly kinky vanilla queer het <*> http://www.rahul.net/aahz/
Hugs and backrubs -- I break Rule 6
The best way to get information on Usenet is not to ask a question, but
to post the wrong information. --Aahz
More information about the Python-list
mailing list