Ian Bicking: the old part of his blog


This rocks! But it does not seem to work on win98. I tested the walk funtion with this little script:
from path import path
import sys
p = path('c:\\')
for f in p.walk():
print f

It fails with this trace back:
Traceback (most recent call last):
File "test.py", line 4, in ?
for f in p.walk():
File "D:\download\path\path.py", line 346, in walk
if child.isdir():
AttributeError: 'str' object has no attribute 'isdir'

Can anyone confirm this?
Comment on path module
by Fredrik