Browse Source

Command Execution

pull/41/head
Jure Šorn 5 years ago
parent
commit
1c5998b48b
2 changed files with 2 additions and 2 deletions
  1. 2
      README.md
  2. 2
      index.html

2
README.md

@ -1593,7 +1593,7 @@ cwd = Path()
Command Execution
-----------------
### Files and Directories
* **Paths can be either strings or Path objects.**
* **Paths can be either strings, Paths or DirEntry objects.**
* **All exceptions are either 'OSError' or its subclasses.**
```python

2
index.html

@ -1444,7 +1444,7 @@ value = args.<name>
&lt;file&gt; = open(&lt;Path&gt;) <span class="hljs-comment"># Opens a file and returns file object.</span>
</code></pre>
<div><h2 id="commandexecution"><a href="#commandexecution" name="commandexecution">#</a>Command Execution</h2><div><h3 id="filesanddirectories">Files and Directories</h3><ul>
<li><strong>Paths can be either strings or Path objects.</strong></li>
<li><strong>Paths can be either strings, Paths or DirEntry objects.</strong></li>
<li><strong>All exceptions are either 'OSError' or its subclasses.</strong></li>
</ul><pre><code class="python language-python hljs"><span class="hljs-keyword">import</span> os
&lt;str&gt; = os.getcwd() <span class="hljs-comment"># Returns the current working directory.</span>

Loading…
Cancel
Save