From 7680be3e740e2b6050c669007b0b6385780d86ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Tue, 23 Jul 2019 22:19:19 +0200 Subject: [PATCH] Command Execution --- README.md | 2 +- index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5bc1ad1..3829990 100644 --- a/README.md +++ b/README.md @@ -1593,7 +1593,7 @@ cwd = Path() Command Execution ----------------- ### Files and Directories -* **Path can be either string, Path, or DirEntry object.** +* **Paths can be either strings, Paths, or DirEntry objects.** * **All exceptions are either 'OSError' or its subclasses.** ```python diff --git a/index.html b/index.html index a239eca..bd82e5b 100644 --- a/index.html +++ b/index.html @@ -1444,7 +1444,7 @@ value = args.<name> <file> = open(<Path>) # Opens a file and returns file object.

#Command Execution

Files and Directories

    -
  • Path can be either string, Path, or DirEntry object.
  • +
  • Paths can be either strings, Paths, or DirEntry objects.
  • All exceptions are either 'OSError' or its subclasses.
import os
 <str> = os.getcwd()                # Returns the current working directory.