Script Discussion & Critique

Seo Sanghyeon tinuviel at sparcs.kaist.ac.kr
Thu Aug 28 02:43:51 EDT 2003


(hokiengal99 posted a script for critique.)

Bruno Desthuilliers <bdesth.nospam at removeme.free.fr> wrote:
> Err... Is this my version of Python having troubles, or could it be
> possible that nobody actually took time to *test* that script?

> On Python 2.2.2, here is what I get:
(here follows what he got)

Neither. The answer is that people on this thread used Python 2.3.
Check the documentation here: http://www.python.org/doc/lib/os-file-dir.html
(os.walk() is documented at the end.)

os.walk() is introduced because using os.path.walk() can be hard.
It's new in 2.3.

Seo Sanghyeon




More information about the Python-list mailing list