|
@ -1505,7 +1505,7 @@ value = args.<name> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<pre><code class="python language-python hljs"><iter> = scandir(path=<span class="hljs-string">'.'</span>) <span class="hljs-comment"># Returns DirEntry objects located at path.</span> |
|
|
<pre><code class="python language-python hljs"><iter> = scandir(path=<span class="hljs-string">'.'</span>) <span class="hljs-comment"># Returns DirEntry objects located at path.</span> |
|
|
<str> = <DirEntry>.path <span class="hljs-comment"># Returns path as a string.</span> |
|
|
|
|
|
|
|
|
<str> = <DirEntry>.path <span class="hljs-comment"># Returns whole path as a string.</span> |
|
|
<str> = <DirEntry>.name <span class="hljs-comment"># Returns final component as a string.</span> |
|
|
<str> = <DirEntry>.name <span class="hljs-comment"># Returns final component as a string.</span> |
|
|
<file> = open(<DirEntry>) <span class="hljs-comment"># Opens the file and returns file object.</span> |
|
|
<file> = open(<DirEntry>) <span class="hljs-comment"># Opens the file and returns file object.</span> |
|
|
</code></pre> |
|
|
</code></pre> |
|
|