You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: index.html
+5-6Lines changed: 5 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -1459,14 +1459,13 @@
1459
1459
<pre><codeclass="python language-python hljs">os.mkdir(<path>, mode=<spanclass="hljs-number">0o777</span>) <spanclass="hljs-comment"># Creates a directory.</span>
1460
1460
<iter> = os.scandir(path=<spanclass="hljs-string">'.'</span>) <spanclass="hljs-comment"># Returns os.DirEntry objects located at path.</span>
1461
1461
</code></pre>
1462
-
<div><h4id="direntry">DirEntry:</h4><pre><codeclass="python language-python hljs"><str> = <DirEntry>.name <spanclass="hljs-comment"># Final component of the path.</span>
1463
-
<str> = <DirEntry>.path <spanclass="hljs-comment"># Path with final component.</span>
0 commit comments