From ad9e30849c0a58dc255c9ac672ec16705f45ecb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Tue, 13 Aug 2019 07:47:51 +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 f5e6671..3fb1636 100644 --- a/README.md +++ b/README.md @@ -1608,7 +1608,7 @@ Command Execution ----------------- ### Files and Directories * **Paths can be either strings, Paths, or DirEntry objects.** -* **Functions report [OS related errors](#exceptions-1) by raising either OSError or one of its subclasses.** +* **Functions report OS related errors by raising either OSError or one of its [subclasses](#exceptions-1).** ```python import os, shutil diff --git a/index.html b/index.html index e9d75c7..167fe6c 100644 --- a/index.html +++ b/index.html @@ -1461,7 +1461,7 @@ value = args.<name>

#Command Execution

Files and Directories

  • Paths can be either strings, Paths, or DirEntry objects.
  • -
  • Functions report OS related errors by raising either OSError or one of its subclasses.
  • +
  • Functions report OS related errors by raising either OSError or one of its subclasses.
import os, shutil
 <str> = os.getcwd()                # Returns the current working directory.
 os.chdir(<path>)                   # Changes current working directory.