Alex Popescu <[EMAIL PROTECTED]> wrote in
news:[EMAIL PROTECTED]:
> Hi all!
>
> I am trying to use the os.path.walk function, but I am getting a weird
> error:
>
> def _walk(dir_name):
> def selector(arg, dirname, fnames):
> print "selector"
>
> os.path.walk(dir_name, selector, None)
>
Alex Popescu <[EMAIL PROTECTED]> wrote in
news:[EMAIL PROTECTED]:
> Hi all!
>
> I am trying to use the os.path.walk function, but I am getting a weird
> error:
>
> def _walk(dir_name):
> def selector(arg, dirname, fnames):
> print "selector"
>
> os.path.walk(dir_name, selector, None)
>
Hi all!
I am trying to use the os.path.walk function, but I am getting a weird
error:
def _walk(dir_name):
def selector(arg, dirname, fnames):
print "selector"
os.path.walk(dir_name, selector, None)
File "C:\zengarden\python\python25\lib\ntpath.py", line 325, in walk
names = os.list