Skip to content

Commit e26f871

Browse files
committed
OS Commands
1 parent 4cfea43 commit e26f871

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1631,7 +1631,7 @@ import os, shutil
16311631

16321632
```python
16331633
os.chdir(<path>) # Changes current working directory.
1634-
os.mkdir(<path>, mode=0o777) # Creates a directory.
1634+
os.mkdir(<path>, mode=0o777) # Creates a directory. Mode is in octal.
16351635
```
16361636

16371637
```python

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1490,7 +1490,7 @@
14901490

14911491

14921492
<pre><code class="python language-python hljs">os.chdir(&lt;path&gt;) <span class="hljs-comment"># Changes current working directory.</span>
1493-
os.mkdir(&lt;path&gt;, mode=<span class="hljs-number">0o777</span>) <span class="hljs-comment"># Creates a directory.</span>
1493+
os.mkdir(&lt;path&gt;, mode=<span class="hljs-number">0o777</span>) <span class="hljs-comment"># Creates a directory. Mode is in octal.</span>
14941494
</code></pre>
14951495
<pre><code class="python language-python hljs">shutil.copy(from, to) <span class="hljs-comment"># Copies the file.</span>
14961496
shutil.copytree(from, to) <span class="hljs-comment"># Copies the entire directory tree.</span>

0 commit comments

Comments
 (0)