From d781e153a1c7b0209e12fd5dc444d5d5b1a207fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Mon, 19 Aug 2024 16:44:21 +0200 Subject: [PATCH] Paths --- README.md | 2 +- index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0575810..96d3233 100644 --- a/README.md +++ b/README.md @@ -1698,7 +1698,7 @@ from pathlib import Path ```python = str() # Returns path as a string. - = open() # Also .read/write_text/bytes(). + = open() # Also .read/write_text/bytes(). ``` diff --git a/index.html b/index.html index 7b84ecf..be33202 100644 --- a/index.html +++ b/index.html @@ -1428,7 +1428,7 @@ p.add_argument('<name>', type=<type> <iter> = <Path>.glob('<pattern>') # Returns Paths matching the wildcard pattern.
<str>  = str(<Path>)                # Returns path as a string.
-<file> = open(<Path>)               # Also <Path>.read/write_text/bytes().
+<file> = open(<Path>)               # Also <Path>.read/write_text/bytes(<args>).
 

#OS Commands

import os, shutil, subprocess