diff --git a/README.md b/README.md index 09defac..cd4e101 100644 --- a/README.md +++ b/README.md @@ -1691,7 +1691,7 @@ from pathlib import Path ```python = str() # Returns path as a string. - = open() # Opens the file and returns a file object. + = open() # Also .read/write_text/bytes(). ``` diff --git a/index.html b/index.html index cf85c03..53a8553 100644 --- a/index.html +++ b/index.html @@ -1430,7 +1430,7 @@ value = args.<name> <iter> = <Path>.glob('<pattern>') # Returns Paths matching the wildcard pattern.
<str>  = str(<Path>)                # Returns path as a string.
-<file> = open(<Path>)               # Opens the file and returns a file object.
+<file> = open(<Path>)               # Also <Path>.read/write_text/bytes().
 

#OS Commands

import os, shutil, subprocess