[Tutor] walking directories

Alan Gauld alan.gauld at freenet.co.uk
Sat Jan 8 09:19:12 CET 2005


> > Shouldn't that be os.path.walk()?
>
> It says in the documentation (it might be the newer ones?):
>
> "Note: The newer os.walk() generator supplies similar functionality
and can
> be easier to use."
>      -- 6.2 os.path -- Common pathname manipulations

Ah, I assume that must be a 2.3 addition, its not in
my Nutshell book and I've only used os.path.walk previously.

Thanks for the pointer.

Alan G.



More information about the Tutor mailing list