<meta http-equiv="content-type" content="text/html; charset=utf-8"><a href="http://docs.python.org/library/os.html#os.walk">http://docs.python.org/library/os.html#os.walk</a><div><br></div><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
...<br><span class="Apple-style-span" style="font-family: sans-serif; font-size: 16px; line-height: 20px; ">By default errors from the <a title="os.listdir" class="reference internal" href="http://docs.python.org/library/os.html#os.listdir" style="color: rgb(53, 95, 124); text-decoration: none; "><tt class="xref docutils literal" style="background-color: transparent; padding-top: 0px; padding-right: 1px; padding-bottom: 0px; padding-left: 1px; font-size: 0.95em; font-weight: bold; "><span class="pre">listdir()</span></tt></a> call are ignored. If optional argument <em>onerror</em> is specified, it should be a function; it will be called with one argument, an <a title="exceptions.OSError" class="reference external" href="http://docs.python.org/library/exceptions.html#exceptions.OSError" style="color: rgb(53, 95, 124); text-decoration: none; "><tt class="xref docutils literal" style="background-color: transparent; padding-top: 0px; padding-right: 1px; padding-bottom: 0px; padding-left: 1px; font-size: 0.95em; font-weight: bold; "><span class="pre">OSError</span></tt></a> instance. <br>
</span><font class="Apple-style-span" face="sans-serif" size="3"><span class="Apple-style-span" style="line-height: 20px;">...</span></font></blockquote><div><a href="http://docs.python.org/library/os.html#os.walk"></a></div>
<div><font class="Apple-style-span" face="sans-serif" size="3"><span class="Apple-style-span" style="line-height: 20px;"><br></span></font></div><div><font class="Apple-style-span" face="sans-serif" size="3"><span class="Apple-style-span" style="line-height: 20px;">Looks like there should be walk() instead of listdir()<br clear="all">
</span></font><br>-- <br>Victor Varvariuc<br><br>
</div>